Skip to main content

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.

Required scope: integrations:write

Grant 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​

OK

Response Headers
    Content-Type