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

KeyDatatypeRequiredDescription
trackingnumbernullThe 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

KeyDatatypeRequiredDescription
transIdnullAn identifier unique to the request. Length 32
transactionSrcstringAn identifier of the client/source application that is making the request.Length 512
Content-Typestring

RESPONSES

status: OK

{"VoidShipmentResponse":{"Response":{"ResponseStatus":{"Code":"1","Description":"Success"}},"SummaryResult":{"Status":{"Code":"1","Description":"Voided"}}}}