Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

An access token from the OAuth flow (eo_at_...). It lasts one hour; refresh it with the refresh token. See Authentication.

Path Parameters

id
string<uuid>
required

The order's ID.

Body

application/json

Every field is optional; only the fields sent change.

full_name
string
Maximum string length: 255
phone
string
phone_alt
string
email
string<email>
country
string
city
string
address
string
Maximum string length: 1000
sa_national_address
string
payment_method
string
Pattern: ^[a-z0-9_-]{2,50}$
items
object[]

Replaces every cart item of the order.

Required array length: 1 - 100 elements
shipping_cost
number
Required range: x >= 0
total_cost
number
Required range: x >= 0
note
string
Maximum string length: 2000
ref
string
utm_source
string
utm_campaign
string
metadata
object

Merged into the order's metadata.

Response

The order.

order
object
required