cURL
curl "https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN"const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
},
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { labels } = jsonpackage main
import (
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest("GET", "https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("EASYORDERS_ACCESS_TOKEN"))
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["labels"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
],
]);
$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']);
}
$labels = $answer['labels'];import os
import requests
response = requests.get(
"https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
labels = answer["labels"]{
"labels": [
{
"id": "5d2e8f1a-3b4c-4d5e-8f6a-7b8c9d0e1f2a",
"text": "VIP",
"color": "purple",
"created_at": "2026-12-03T10:00:00Z"
},
{
"id": "8a3d4c2b-1e0f-4a9b-8c7d-6e5f4a3b2c10",
"text": "Call before shipping",
"color": "orange",
"created_at": "2026-12-03T10:05:00Z"
}
]
}{
"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": "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"
}
}Labels
List order labels
Scope: read_orders
Your app’s labels on the order, oldest first. Another app’s labels are never listed. Not paginated, and takes no query parameters: an app has at most 5 labels on an order.
A deleted order answers 404 not_found.
GET
/
orders
/
{id}
/
labels
cURL
curl "https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN"const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
},
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { labels } = jsonpackage main
import (
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest("GET", "https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("EASYORDERS_ACCESS_TOKEN"))
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["labels"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
],
]);
$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']);
}
$labels = $answer['labels'];import os
import requests
response = requests.get(
"https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/labels",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
labels = answer["labels"]{
"labels": [
{
"id": "5d2e8f1a-3b4c-4d5e-8f6a-7b8c9d0e1f2a",
"text": "VIP",
"color": "purple",
"created_at": "2026-12-03T10:00:00Z"
},
{
"id": "8a3d4c2b-1e0f-4a9b-8c7d-6e5f4a3b2c10",
"text": "Call before shipping",
"color": "orange",
"created_at": "2026-12-03T10:05:00Z"
}
]
}{
"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": "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.