Skip to main content
POST
Cancel a shipment
Sets status to cancelled. Allowed while the shipment is pending or awaiting_pickup. In-transit and delivered shipments cannot be cancelled.
string
required
Shipment reference, for example SHP-12345.
Returns the cancelled shipment in data. If the shipment cannot be cancelled:
A reference that belongs to another workspace returns 404.