Amazon Services
Amazon Marketplace Web Service (Amazon MWS) Documentation
Amazon MWS Documentation

How to cancel a shipment

This shows how to add functionality to the workflow described in How to fulfill Seller Fulfilled Prime orders.

To cancel a shipment

  1. Call the CancelShipment operation, specifying the ShipmentId value of the shipment to be canceled.
  2. (Optional) Check the status of the canceled shipment. See the following procedure.

To check the status of a canceled shipment (optional)

  1. Call the GetShipment operation, specifying the ShipmentId value of the canceled shipment.
  2. Get the cancellation status from the Status element returned by the GetShipment operation.

Errors

The service returns the LabelCancelWindowExpired error if the window for canceling a label has expired. See Error codes.