-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Labels
Description
In AmazonShipment class, the setItems method needs to be modified to consider that AreCasesRequired option must NOT be included in updates using the updateShipment method (only the createShipment method)
The reason is that AreCasesRequired field can be updated only for an empty shipment, or a shipment with all zero quantity items.
As a result, updateShipment method does not currently work and returns error:
Bad Response! 400 Bad Request: InvalidRequestException - This operation may be partially successful, please check the shipment. Reason: AreCasesRequired field can be updated only for an empty shipment, or a shipment with all zero quantity items.