Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fulfillment Inbound API getShipments is missing READY_TO_SHIP status #58

Open
cheeseweasel opened this issue Dec 13, 2023 · 0 comments
Open

Comments

@cheeseweasel
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant