This shows how to add functionality to the
workflow described in How to fulfill Seller Fulfilled Prime orders.
To cancel a shipment
- Call the CancelShipment operation, specifying the
ShipmentId value of the shipment to be canceled.
- (Optional) Check the status of the canceled shipment. See the following procedure.
To check the status of a canceled shipment (optional)
- Call the GetShipment operation, specifying the
ShipmentId value of the canceled shipment.
- Get the cancellation status from the Status element returned by the
The service returns the
error if the window for canceling a label
has expired. See Error codes