This operation cancels or voids a shipment label that has not been processed by the carrier. When you cancel an unused prepaid shipment label, the API initiates a request for an electronic refund.
Key Considerations
The Shipment has been cancelled.
Invalid request.
The request could not be authorized.
The requested resource was not found.
The request could not be completed due to an internal error.
{- "shipmentId": "PUROLATOR2200626353009030",
- "parcelTrackingNumber": "1234sjhgf",
- "references": {
- "additionalReference1": "612987641",
- "additionalReference2": "989"
}
}
{- "carrier": "USPS",
- "totalCarrierCharge": 0,
- "parcelTrackingNumber": "9471309105156000624885",
- "status": "INITIATED",
- "references": {
- "additionalReference1": "612987641",
- "additionalReference2": "989"
}
}