Shipments
Cancel sent shipment
Cancel a sent shipment with its carrier. The shipment becomes cancelled when the carrier confirms at once; a carrier that confirms later leaves it dispatched with the request in its activity, and its tracking shows the outcome; a carrier that withdrew only some parcels leaves it dispatched with each parcel’s outcome in its activity. Only carriers whose cancelsShipments is true accept it, except products listed in uncancellableProductIds; others answer SHIPMENT_CANCEL_NOT_SUPPORTED, and a carrier that refuses (for example because the parcel was collected) answers CARRIER_CANCEL_REFUSED.
POST
TypeScript
Path Parameters
Response
Default Response
TypeScript