cURL
curl -G "https://api.easy-orders.net/api/partners-apps/v1/orders" \
--data-urlencode "limit=20" \
--data-urlencode "filter=status||\$eq||pending" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN"const params = new URLSearchParams([
['limit', '20'],
['filter', 'status||$eq||pending'],
])
const url = 'https://api.easy-orders.net/api/partners-apps/v1/orders?' + params
const response = await fetch(url, {
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 { data } = jsonpackage main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"os"
)
func main() {
query := url.Values{}
query.Add("limit", "20")
query.Add("filter", "status||$eq||pending")
req, err := http.NewRequest("GET", "https://api.easy-orders.net/api/partners-apps/v1/orders?"+query.Encode(), 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["data"])
}<?php
$query = http_build_query([
'limit' => '20',
'filter' => 'status||$eq||pending',
]);
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/orders?' . $query);
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']);
}
$data = $answer['data'];import os
import requests
response = requests.get(
"https://api.easy-orders.net/api/partners-apps/v1/orders",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
params=[
("limit", "20"),
("filter", "status||$eq||pending"),
],
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
data = answer["data"]{
"data": [
{
"id": "6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c",
"number": 1042,
"status": "confirmed",
"payment_status": "pending_payment",
"payment_method": "cod",
"full_name": "Mona Hassan",
"email": "",
"phone": "+201001234567",
"phone_alt": "",
"country": "Egypt",
"city": "Cairo",
"address": "12 Tahrir St, Downtown",
"sa_national_address": "",
"note": "",
"ref": "",
"utm_source": "",
"utm_campaign": "",
"metadata": {
"is_app_order": true,
"app_name": "ERP Sync",
"erp_ref": "INV-778"
},
"product_cost": 900,
"shipping_cost": 60,
"coupon_code": "",
"coupon_discount": 0,
"total_cost": 960,
"custom_currency": "",
"is_digital": false,
"shipping_status": "",
"masked": false,
"masked_reason": null,
"items": [
{
"id": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f60",
"product_id": "0b6f3c7e-3a1d-4a8e-9d5e-2f1b7c9a4e10",
"variant_id": null,
"quantity": 2,
"price": 450,
"metadata": {}
}
],
"created_at": "2026-12-04T10:15:00Z",
"updated_at": "2026-12-04T10:20:00Z"
}
],
"next_cursor": "Ab3kZ2l..."
}{
"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": "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"
}
}Orders
List orders
Scope: read_orders
Lists the orders created in the last 14 days, at most the newest 500 of
them, oldest first unless sort=created_at,DESC. Read an older order
by its ID with Get an order.
Filter with filter=field||$op||value (repeatable, all must match):
| Field | Operators |
|---|---|
status | $eq, $ne, $in |
payment_status | $eq, $in |
payment_method | $eq, $in |
phone | $eq |
ref | $eq |
product_id | $eq |
$in takes comma-separated values, up to 50. Up to 10 filters per
request. join=items adds each order’s cart items.
GET
/
orders
cURL
curl -G "https://api.easy-orders.net/api/partners-apps/v1/orders" \
--data-urlencode "limit=20" \
--data-urlencode "filter=status||\$eq||pending" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN"const params = new URLSearchParams([
['limit', '20'],
['filter', 'status||$eq||pending'],
])
const url = 'https://api.easy-orders.net/api/partners-apps/v1/orders?' + params
const response = await fetch(url, {
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 { data } = jsonpackage main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"os"
)
func main() {
query := url.Values{}
query.Add("limit", "20")
query.Add("filter", "status||$eq||pending")
req, err := http.NewRequest("GET", "https://api.easy-orders.net/api/partners-apps/v1/orders?"+query.Encode(), 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["data"])
}<?php
$query = http_build_query([
'limit' => '20',
'filter' => 'status||$eq||pending',
]);
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/orders?' . $query);
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']);
}
$data = $answer['data'];import os
import requests
response = requests.get(
"https://api.easy-orders.net/api/partners-apps/v1/orders",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
params=[
("limit", "20"),
("filter", "status||$eq||pending"),
],
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
data = answer["data"]{
"data": [
{
"id": "6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c",
"number": 1042,
"status": "confirmed",
"payment_status": "pending_payment",
"payment_method": "cod",
"full_name": "Mona Hassan",
"email": "",
"phone": "+201001234567",
"phone_alt": "",
"country": "Egypt",
"city": "Cairo",
"address": "12 Tahrir St, Downtown",
"sa_national_address": "",
"note": "",
"ref": "",
"utm_source": "",
"utm_campaign": "",
"metadata": {
"is_app_order": true,
"app_name": "ERP Sync",
"erp_ref": "INV-778"
},
"product_cost": 900,
"shipping_cost": 60,
"coupon_code": "",
"coupon_discount": 0,
"total_cost": 960,
"custom_currency": "",
"is_digital": false,
"shipping_status": "",
"masked": false,
"masked_reason": null,
"items": [
{
"id": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f60",
"product_id": "0b6f3c7e-3a1d-4a8e-9d5e-2f1b7c9a4e10",
"variant_id": null,
"quantity": 2,
"price": 450,
"metadata": {}
}
],
"created_at": "2026-12-04T10:15:00Z",
"updated_at": "2026-12-04T10:20:00Z"
}
],
"next_cursor": "Ab3kZ2l..."
}{
"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": "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.