cURL
curl -X PATCH "https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"description": "Short guides to help you pick the right product."
}'const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'Short guides to help you pick the right product.',
}),
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { article_category } = jsonpackage main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"description": "Short guides to help you pick the right product."
}`)
req, err := http.NewRequest("PATCH", "https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20", 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["article_category"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20');
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([
'description' => 'Short guides to help you pick the right product.',
]),
]);
$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']);
}
$articleCategory = $answer['article_category'];import os
import requests
response = requests.patch(
"https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
json={
"description": "Short guides to help you pick the right product.",
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
article_category = answer["article_category"]{
"article_category": {
"id": "4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20",
"name": "Buying guides",
"slug": "buying-guides",
"description": "How to pick the right product for you.",
"created_at": "2026-11-15T10:00:00Z",
"updated_at": "2026-11-15T10: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 article category of the store has this slug"
}
}{
"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"
}
}Article categories
Update an article category
Scope: write_content
Changes only the fields you send; null is refused. Changing the
name does not change the slug: send slug to change it. A slug
another article category of the store has answers 409 slug_taken.
PATCH
/
article-categories
/
{id}
cURL
curl -X PATCH "https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"description": "Short guides to help you pick the right product."
}'const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'Short guides to help you pick the right product.',
}),
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { article_category } = jsonpackage main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"description": "Short guides to help you pick the right product."
}`)
req, err := http.NewRequest("PATCH", "https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20", 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["article_category"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20');
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([
'description' => 'Short guides to help you pick the right product.',
]),
]);
$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']);
}
$articleCategory = $answer['article_category'];import os
import requests
response = requests.patch(
"https://api.easy-orders.net/api/partners-apps/v1/article-categories/4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
json={
"description": "Short guides to help you pick the right product.",
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
article_category = answer["article_category"]{
"article_category": {
"id": "4a7c9e1b-2d3f-4b5a-8c6d-7e8f9a0b1c20",
"name": "Buying guides",
"slug": "buying-guides",
"description": "How to pick the right product for you.",
"created_at": "2026-11-15T10:00:00Z",
"updated_at": "2026-11-15T10: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 article category of the store has this slug"
}
}{
"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