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.

Request​

Responses​