Skip to main content
POST
/
cancel_order
cURL
curl --request POST \
  --url https://sandbox.x.architect.co/orders/cancel_order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oid": "<string>"
}'
{
  "cxl_rx": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
oid
string
required

Order ID to cancel; e.g. "ORD-1234567890"

Response

Order cancel requested

cxl_rx
boolean
required

Whether the cancel request has been accepted; e.g. true, false