Get Order Cancellations

Get Order Cancellations

get

Retrieves all cancellation records associated with an order. Returns an OrderCancellation object containing the overall cancellation status and individual bag cancellation records, including any associated refunds and error details. Returns HTTP 204 No Content if no cancellations exist for the order.

Path parameters
order_idinteger · int64Required

ID of the order to retrieve cancellation records for

Example: 11111
Header parameters
X-Violet-TokenstringRequired

API token for authentication

X-Violet-App-SecretstringRequired

Application secret key

X-Violet-App-Idinteger · int32Required

Application ID

Example: 10000
Responses
chevron-right
200

success

application/json

Cancellation record for an order.

order_idinteger · int64Read-onlyOptional

The ID of the order this cancellation relates to.

app_idinteger · int32Read-onlyOptional

The ID of the app that originated this order.

statusstring · enumRead-onlyOptional

Status of the overall cancellation.

Possible values:
messagestringRead-onlyOptional

Description of the outcome of the order cancellation request.

get
/orders/{order_id}/cancellations

Last updated

Was this helpful?