Skip to main content

Bulk Cancel Orders

POST 

/api/shiprush/instances/:integration_instance/orders/bulk-cancel

Cancel several orders at once so ShipRush drops them on its next poll. Orders that have already shipped cannot be recalled and are skipped, as are orders already cancelled.

Not yet available to API tokens

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

Body fields:

  • ids (array of integers, required unless apply_to_all is true): the order ids to act on. Ids belonging to another integration instance are ignored.
  • apply_to_all (boolean, optional): when true, act on every order matching filters instead of ids.
  • filters (object, optional): the same filter keys the List Orders endpoint accepts (e.g. order_number.contains, status.is), plus filter_groups for grouped conditions. Only used with apply_to_all.

Returns counts: processed (acted on), skipped (the action does not apply to the row's state), failed (the action errored), and errors keyed by row id. Returns 422 when neither ids nor apply_to_all is sent.

Authentication: Requires a Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type