Skip to main content

Delete Order

DELETE 

/api/storefront/instances/:id/orders/:id2

Permanently remove this mirrored store order from SKU.io, along with its lines, its recorded store shipments and any linked SKU.io sales order (deleted first, through the normal sales-order path). Nothing is sent to the store, and the store's own order is untouched.

Not yet available to API tokens

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

This is not archiving. The next import run re-mirrors the order if the store still reports it as changed. Archive it instead when you want it to stay gone. Use Delete SKU Order when you only want to undo the SKU.io sales order and keep the mirror.

404 when the order belongs to a different connection than the one in the path; 422 when the deletion failed, with the reason in the message.

Requires the integrations.update permission.

Authentication: Bearer token (session or PAT).

Request​

Responses​

OK

Response Headers
    Content-Type