CancelShipment Method
Cancels an entire multi-package (MPS) shipment by deleting it from the shipping log.
Object Oriented Interface
public function doCancelShipment($mastertrackingnumber);
Procedural Interface
inship_upsshipintl_do_cancelshipment($res, $mastertrackingnumber);
Remarks
To cancel an entire MPS shipment, a void shipment request should be sent to UPS Server by calling the CancelShipment method.
For void shipment requests while your application is undergoing testing and integration, you will have to set the Server to: https://wwwcie.ups.com/ups.app/xml/Void.
Once your application is in production, the Server should be sent to the URL provided as part of the certification process.
The MasterTrackingNumber parameter identifies the shipment that contains all packages to be deleted from shipping log.
To check the status of your shipment void request, the ShipmentVoidStatus should be inspected.