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.
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
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.