Cancel a previously-purchased shipment

Cancels a shipment that has not yet shipped. Cancellation eligibility is carrier-dependent; refer to the response cancellation status to confirm.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

shipmentIdstringRequired
Identifier of the shipment to cancel.

Response

Cancellation processed
payloadobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error