Skip to main content
POST
/
1.0
/
shipment
/
cancelbulk
Cancel multiple Shipments by Shipment Id
curl --request POST \
  --url https://api.shipbob.com/1.0/shipment/cancelbulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'shipbob_channel_id: <shipbob_channel_id>' \
  --data '
{
  "shipment_ids": [
    0
  ]
}
'
{
  "results": [
    {
      "action": "Cancel",
      "is_success": true,
      "reason": "string",
      "shipment_id": 0
    }
  ]
}
API 1.0 is deprecated and will be sunset on July 31, 2026. Please migrate to the latest API version. See our Versioning Policy for details.

Authorizations

Authorization
string
header
required

Authentication using Personal Access Token (PAT) token

Headers

shipbob_channel_id
string<int32>
required

Channel ID for Operation

Body

application/json

The shipment IDs to cancel

Model for cancel multiple shipments at once

shipment_ids
integer<int32>[] | null

Shipment IDs to cancel

Response

Success

results
object[] | null

The results of all cancellation actions