Shipments
Cancel Shipment
Cancels a shipment by setting its status to cancelled
DELETE
Request Parameters
Path Parameters
string
required
Shipment ID to cancel
Response Fields
string
Unique identifier for the shipment (UUID format)
string
Order reference number
string
Shipment status (will be
cancelled)string
When the shipment was cancelled (ISO 8601 format)
string
ID of the entity that cancelled the shipment
string
Reason for cancellation
string
Type of shipment:
delivery, return, or exchangestring
Original shipment date in ISO 8601 format
string
Start of pickup window in ISO 8601 format
string
End of pickup window in ISO 8601 format
string
Carrier identifier (UUID format)
string
Carrier service level identifier (UUID format)
string
Pickup identifier (UUID format)
string
IANA timezone identifier
string
URL to the shipping label
object
Additional shipment metadata
string
When the shipment was created (ISO 8601 format)
string
When the shipment was last updated (ISO 8601 format)
Only shipments in
pending or scheduled status can be cancelled. Attempting to cancel a shipment in any other state will result in a 409 Conflict error.