cURL
curl -X PATCH "https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"is_active": false
}'const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
is_active: false,
}),
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { page } = jsonpackage main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"is_active": false
}`)
req, err := http.NewRequest("PATCH", "https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70", bytes.NewReader(body))
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("EASYORDERS_ACCESS_TOKEN"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
var answer map[string]any
if err := json.NewDecoder(res.Body).Decode(&answer); err != nil {
panic(err)
}
if res.StatusCode >= 300 {
panic(fmt.Sprint(res.Status, answer["error"]))
}
fmt.Println(answer["page"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'PATCH',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'is_active' => false,
]),
]);
$answer = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
curl_close($ch);
if ($status >= 300) {
throw new RuntimeException($answer['error']['code'] . ': ' . $answer['error']['message']);
}
$page = $answer['page'];import os
import requests
response = requests.patch(
"https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
json={
"is_active": False,
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
page = answer["page"]{
"page": {
"id": "3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70",
"title": "Return policy",
"slug": "return-policy",
"content": "<h2>Returns</h2><p>You can return any item within <strong>14 days</strong> of delivery.</p>",
"show_in_header": false,
"show_in_footer": true,
"show_under_gallery": false,
"position": 2,
"is_active": true,
"is_need_review": false,
"created_at": "2026-11-20T09:00:00Z",
"updated_at": "2026-11-20T09:00:00Z"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid JSON body: unknown field"
}
}{
"error": {
"code": "unauthenticated",
"message": "Missing or invalid access token"
}
}{
"error": {
"code": "payment_required",
"message": "The app's subscription on this store is suspended"
}
}{
"error": {
"code": "insufficient_scope",
"message": "This request requires the scope: read_orders",
"details": {
"required_scope": "read_orders"
}
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}{
"error": {
"code": "slug_taken",
"message": "Another page of the store has this slug"
}
}{
"error": {
"code": "body_too_large",
"message": "Request body too large"
}
}{
"error": {
"code": "validation_failed",
"message": "Validation failed",
"details": {
"fields": [
{
"field": "items[0].quantity",
"rule": "between",
"param": "1,10000"
}
]
}
}
}{
"error": {
"code": "too_many_requests",
"message": "Rate limit exceeded"
}
}Pages
Update a page
Scope: write_content
Changes only the fields you send; null is refused.
contentis cleaned of unsafe HTML, as on create, and the answer holds the cleaned content.- Changing the title does not change the slug: send
slugto change it. Asluganother page of the store has answers409 slug_taken. - Changing the title or the content runs the AI content check again.
A flag sets
is_need_review: true; a passing check never sets it back tofalse.
PATCH
/
pages
/
{id}
cURL
curl -X PATCH "https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"is_active": false
}'const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
is_active: false,
}),
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { page } = jsonpackage main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"is_active": false
}`)
req, err := http.NewRequest("PATCH", "https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70", bytes.NewReader(body))
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("EASYORDERS_ACCESS_TOKEN"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
var answer map[string]any
if err := json.NewDecoder(res.Body).Decode(&answer); err != nil {
panic(err)
}
if res.StatusCode >= 300 {
panic(fmt.Sprint(res.Status, answer["error"]))
}
fmt.Println(answer["page"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'PATCH',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'is_active' => false,
]),
]);
$answer = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
curl_close($ch);
if ($status >= 300) {
throw new RuntimeException($answer['error']['code'] . ': ' . $answer['error']['message']);
}
$page = $answer['page'];import os
import requests
response = requests.patch(
"https://api.easy-orders.net/api/partners-apps/v1/pages/3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
json={
"is_active": False,
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
page = answer["page"]{
"page": {
"id": "3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70",
"title": "Return policy",
"slug": "return-policy",
"content": "<h2>Returns</h2><p>You can return any item within <strong>14 days</strong> of delivery.</p>",
"show_in_header": false,
"show_in_footer": true,
"show_under_gallery": false,
"position": 2,
"is_active": true,
"is_need_review": false,
"created_at": "2026-11-20T09:00:00Z",
"updated_at": "2026-11-20T09:00:00Z"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid JSON body: unknown field"
}
}{
"error": {
"code": "unauthenticated",
"message": "Missing or invalid access token"
}
}{
"error": {
"code": "payment_required",
"message": "The app's subscription on this store is suspended"
}
}{
"error": {
"code": "insufficient_scope",
"message": "This request requires the scope: read_orders",
"details": {
"required_scope": "read_orders"
}
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}{
"error": {
"code": "slug_taken",
"message": "Another page of the store has this slug"
}
}{
"error": {
"code": "body_too_large",
"message": "Request body too large"
}
}{
"error": {
"code": "validation_failed",
"message": "Validation failed",
"details": {
"fields": [
{
"field": "items[0].quantity",
"rule": "between",
"param": "1,10000"
}
]
}
}
}{
"error": {
"code": "too_many_requests",
"message": "Rate limit exceeded"
}
}Authorizations
An access token from the OAuth flow (eo_at_...). It lasts one hour;
refresh it with the refresh token. See Authentication.
Body
application/json