[v2.6] Void

Overview

This endpoint allows a user to cancel a shipment with a carrier.

Use of this endpoint does not guarantee a shipment has been cancelled.

Please verify with your carrier the cancellation of a pickup to ensure you will not be charged.


POST /Void


 Request Body


PropertyData TypeNotes
shipmentIdstring

The tracking number for the container or the master tracking number for the shipment.

voidTypeenum
  • Shipment
  • Container
isProductionbooleanIf testing, this should be set to false.
carrierServiceNamestringName of the carrier service used to get the labels for the shipment.
carrierNamestringName of the carrier.
shipFromCountryCodeIso2stringex: US
shipToCountryCodeIso2stringex: CA
shipToNamestringName of the destination of the shipment.
shipDatestringex: 2024-08-28T20:07:12
includeTransactionXmlsbooleanTrue or false.


 containersToVoid
PropertyData TypeNotes
containerIdstringTracking number for the container.


 additionalInformation
PropertyData TypeNotes
keystring
valuestring
 accountAssignment
PropertyData TypeNotes
accountNumberstringAccount number.
additionalAccountNumberstringAdditional account number, if applicable.
accessKeystringAccess key for carrier APIs.
userNamestringUsername for carrier APIs.
passwordstringPassword for carrier APIs.
 additionalInformation
PropertyData TypeNotes
keystring
valuestring

 Response


PropertyData TypeNotes
runTimeinteger
  • int64
transactionIdstring

System-generated transaction ID.



 voidResultDto
PropertyData TypeNotes
resultStatusenum
  • Failure
  • PartialSuccess
  • Success
statusDescriptionstringDescription of status of void request.


 transactionHistoryInterfaces
PropertyData TypeNotes
carrierRequeststringRequest sent to carrier API.
carrierResponsestringResponse sent from carrier API.
sccRequeststringNot applicable.
sccResponsestringNot applicable.
carrierTransactionIdstringTransaction generated by carrier API.
 parcelErrors
PropertyData TypeNotes
classstring
methodstring
messagestring
 containerVoidResults
PropertyData TypeNotes
containerIdstringID of the container.
successfulbooleanTrue or false.
statusDescriptionstringDescription of whether the void request was successful.


 parcelErrors
PropertyData TypeNotes
classstring
methodstring
messagestring



Feedback

Submit feedback.