Void Shipment Example Request
DELETE {{base_url}}/api/shipments/:version/void/cancel/:shipmentidentificationnumber?trackingnumber
The HTTP DELETE request takes in a UPS 1Z (shipmentidentification) and will voice/cancel the label and associated charges.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
trackingnumber | null | The package's tracking number. You may have up to 20 different tracking numbers listed. If more than one tracking number, pass this value with a coma separating each number. Alpha-numeric. Must pass 1Z rules. Must be upper case. Length 18 |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
transId | null | An identifier unique to the request. Length 32 | |
transactionSrc | string | An identifier of the client/source application that is making the request.Length 512 | |
Content-Type | string |
RESPONSES
status: OK
{"VoidShipmentResponse":{"Response":{"ResponseStatus":{"Code":"1","Description":"Success"}},"SummaryResult":{"Status":{"Code":"1","Description":"Voided"}}}}