cURL
curl -X POST "https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN" \
-H "Idempotency-Key: INV-778-note-1" \
-H "Content-Type: application/json" \
-d '{
"note": "Customer asked for delivery after 5 PM.",
"type": "private"
}'const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
'Idempotency-Key': 'INV-778-note-1',
'Content-Type': 'application/json',
},
body: JSON.stringify({
note: 'Customer asked for delivery after 5 PM.',
type: 'private',
}),
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { note } = jsonpackage main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"note": "Customer asked for delivery after 5 PM.",
"type": "private"
}`)
req, err := http.NewRequest("POST", "https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes", bytes.NewReader(body))
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("EASYORDERS_ACCESS_TOKEN"))
req.Header.Set("Idempotency-Key", "INV-778-note-1")
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["note"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
'Idempotency-Key: INV-778-note-1',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'note' => 'Customer asked for delivery after 5 PM.',
'type' => 'private',
]),
]);
$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']);
}
$note = $answer['note'];import os
import requests
response = requests.post(
"https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
"Idempotency-Key": "INV-778-note-1",
},
json={
"note": "Customer asked for delivery after 5 PM.",
"type": "private",
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
note = answer["note"]{
"note": {
"id": "3a4b5c6d-7e8f-4a0b-9c1d-2e3f4a5b6c70",
"note": "Customer asked for delivery after 5 PM.",
"type": "private",
"created_at": "2026-12-04T11: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": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"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
Add a note
Scope: write_orders
Adds a note to the order. A public note is shown to the shopper on
the order’s page; private (the default) is the merchant’s only. An
order takes up to 500 notes from apps (409 too_many_notes).
Send an Idempotency-Key to retry safely.
POST
/
orders
/
{id}
/
notes
cURL
curl -X POST "https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN" \
-H "Idempotency-Key: INV-778-note-1" \
-H "Content-Type: application/json" \
-d '{
"note": "Customer asked for delivery after 5 PM.",
"type": "private"
}'const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
'Idempotency-Key': 'INV-778-note-1',
'Content-Type': 'application/json',
},
body: JSON.stringify({
note: 'Customer asked for delivery after 5 PM.',
type: 'private',
}),
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { note } = jsonpackage main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"note": "Customer asked for delivery after 5 PM.",
"type": "private"
}`)
req, err := http.NewRequest("POST", "https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes", bytes.NewReader(body))
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("EASYORDERS_ACCESS_TOKEN"))
req.Header.Set("Idempotency-Key", "INV-778-note-1")
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["note"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
'Idempotency-Key: INV-778-note-1',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'note' => 'Customer asked for delivery after 5 PM.',
'type' => 'private',
]),
]);
$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']);
}
$note = $answer['note'];import os
import requests
response = requests.post(
"https://api.easy-orders.net/api/partners-apps/v1/orders/6f1c2a9e-8b4d-4e3a-9f7c-1d2e3f4a5b6c/notes",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
"Idempotency-Key": "INV-778-note-1",
},
json={
"note": "Customer asked for delivery after 5 PM.",
"type": "private",
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
note = answer["note"]{
"note": {
"id": "3a4b5c6d-7e8f-4a0b-9c1d-2e3f4a5b6c70",
"note": "Customer asked for delivery after 5 PM.",
"type": "private",
"created_at": "2026-12-04T11: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": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"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.
Headers
Body
application/json