cURL
curl --request POST \ --url https://api.shipbob.com/2.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 } ] }
Authentication using Personal Access Token (PAT) token
Channel ID for Operation
The shipment IDs to cancel
Model for cancel multiple shipments at once
Shipment IDs to cancel
Success
The results of all cancellation actions
Show child attributes
CleanSweep
Reassign
ReleaseOrderHold
MoveToOnHoldAndKeepInventory
MoveToOnHoldAndReleaseInventory
Cancel
AddLineItem
RemoveLineItem
UpdateShipOption
If the cancel action was successful
The reason the cancellation result
The ID of the shipment
Was this page helpful?