Skip to main content

Push Order Cancellation

POST 

/api/storefront/instances/:id/orders/:id2/push-cancellation

Tell the store to cancel this order now, instead of waiting for the next automatic run to push it. The store is asked to move the order to cancelled.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

422 when the store refuses — most often because it has already fulfilled the order; the message carries the store's own explanation.

The payload is the full order: every field from the list plus complete line objects (each with its SKU.io product link and, when the store product has been imported, its channel product link), the shipments SKU.io has pushed, the linked SKU.io sales order with its fulfillments, the shipments the store itself reports (store_fulfillments), and the stored store payload (raw_data). items_count is not included here — count items.

Requires the sales_orders.cancel permission.

Authentication: Bearer token (session or PAT).

Request​

Responses​

OK

Response Headers
    Content-Type