Skip to main content
View as Markdown

Cancel an order or some of its items

POST 

/orders/:orderId/cancel

Cancels the given quantities of one or more order items. Cancelling every remaining unit of every shippable item cancels the whole order. Send cancelWholeOrder: true instead of items to cancel the order outright, which is the only way to cancel an order that has nothing shippable on it; that form is refused once any unit has shipped, and refused a second time on an order already cancelled this way. If your fulfillment provider already has the order (externalOrderId is set), only the whole order can be cancelled, because providers cancel an order as a whole and never single items; the order is then cancelled with the provider for you. Cancelling here refunds nobody: to refund the payments of what you cancel, use POST /orders/{orderId}/cancellations.

Request​

Responses​