Deleting a shipment

Canceling a shipment

If a shipment has to be canceled, cancelShipment can be used. There is no deleteShipment because shipments cannot be canceled unlike packages or shipment items. The reference for an existing shipment can be e.g. a shipment number or the transaction id.

<shipmentReference>
   <transactionId></transactionId>
   <referenceNumber1>SHIPMENT_TEST2</referenceNumber1>
   <shipmentNumber>9009450</shipmentNumber>
</shipmentReference>