Update order

Updates the order with the given id. Accepts changes to status, customer email, line items, billing and shipping addresses, shipping instructions, metadata, and marketing consent flags.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The site's unique name (its ID), returned when the site is created.

string
required

The order's ID.

Body Params
string | null
enum

Status of the order

Allowed:
string | null

Email of the customer associated to the order

items
array of objects | null

Items bought with the order

items
billing_address
object | null

Billing address of the customer

shipping_address
object | null

Shipping address of the customer if an item in the order required shipment

string | null

Special instructions left by the customer for the delivery

string | null

Merchant defined JSON data for the whole order

boolean | null

Consent of the customer to receive marketing emails. Omit to leave unchanged, send null to record
that the consent was not asked.

boolean | null

Consent of the customer to receive marketing SMS. Omit to leave unchanged, send null to record
that the consent was not asked.

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json