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)
The validation on the
shipment_status_listparameter forget_shipmentsis missingREADY_TO_SHIP:amz_sp_api/lib/fulfillment-inbound-api-model/api/fba_inbound_api.rb
Lines 818 to 820 in 0c2c49e
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)