Cancel Order
POST/api/shiprush/instances/:integration_instance/orders/:order/cancel
Cancel a ShipRush order. Marks the order cancelled and bumps last_modified_at so ShipRush observes the cancellation and drops it on its next poll (passive propagation). When the order is linked to an open SKU.io fulfillment order, that fulfillment order is cancelled too (its stock allocation is released), so it is never left waiting for a label that will not be printed. Returns the updated order.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Path parameter:
- instance: the numeric ID of the ShipRush integration instance.
- order: internal ShipRush order id.
No request body is required. An order id / instance mismatch returns 404. When the linked fulfillment order can no longer be cancelled (for example it is mid-dispatch or already closed), the request returns 422 with the reason in message and the order is left unchanged.
Authentication: requires a Bearer token.
Requires the fulfillment_orders.cancel permission.
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
Response Headers
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.