Skip to content

Cannot update AreCasesRequired field #184

@kmizzi

Description

@kmizzi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions