Skip to content

Fulfillment Inbound API getShipments is missing READY_TO_SHIP status #58

@cheeseweasel

Description

@cheeseweasel

The validation on the shipment_status_list parameter for get_shipments is missing READY_TO_SHIP:

if @api_client.config.client_side_validation && opts[:'shipment_status_list'] && !opts[:'shipment_status_list'].all? { |item| ['WORKING', 'SHIPPED', 'RECEIVING', 'CANCELLED', 'DELETED', 'CLOSED', 'ERROR', 'IN_TRANSIT', 'DELIVERED', 'CHECKED_IN'].include?(item) }
fail ArgumentError, 'invalid value for "shipment_status_list", must include one of WORKING, SHIPPED, RECEIVING, CANCELLED, DELETED, CLOSED, ERROR, IN_TRANSIT, DELIVERED, CHECKED_IN'
end

https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v0-model - the definition is under "/fba/inbound/v0/shipments"

I'm not sure if this has happened because of the two similar shipment lists we have here:

https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v0-reference#shipmentstatus (this does not include READY_TO_SHIP)
https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v0-reference#shipmentstatuslist (this does)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions