Update an order
Moves order state along DRAFT to OPEN to COMPLETED or CANCELED, updates external references, or replaces line items. Items lock after a payment is recorded or the order reaches a terminal state.
PATCH
Authorizations
OAuth 2.0 with opaque bearer tokens. Authorization-code requests require PKCE S256.
Headers
Pin a dated API release (YYYY-MM-DD). Omit for the latest (2026-06-09). Unknown values return 400 unsupported_api_version; the resolved version is echoed back in the X-API-Version response header.
Pattern:
^\d{4}-\d{2}-\d{2}$Example:
"2026-06-09"
Path Parameters
Body
application/json
The body is of type any.
Response
Order updated.