Cancel Order

View as Markdown
Cancels an order and all associated shipments. The order must be in a cancellable state to proceed with the cancellation.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token or OAuth2

Path parameters

orderIdstringRequiredformat: "int32"
The order ID to cancel

Headers

shipbob_channel_idintegerRequired
Channel ID for Operation

Response

Success
canceled_shipment_resultslist of objects or null
Results of canceling the shipments associated with the order
orderobject
order_idinteger
The ID of the canceled order
statusenum

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error