Closed ssoulless closed 9 years ago
I also tried
puts client.list_orders(created_before: Time.now.utc.iso8601)
But same result...
What's the error message?
begin
client.list_orders
rescue => e
puts e.response.message
end
Hi this is the error message:
CreatedAfter or LastUpdatedAfter must be specified
but I do not understand, what it means, what am I missing?
Hi I found the issue, I read Amazon MWS and it seems that you have to send the created_after argument mandatory:
client.list_orders(created_after: '2014-01-01')
Now it works, would be good if you add that detail to the docs, I mean add which ones are mandatory and which ones are not.
You're right. I'll add a note to the docs.
Hey the above is my code:
Im trying to get the list of orders, it is not working it shows:
response_call': Expected(200) <=> Actual(400 Bad Request) (Excon::Errors::BadRequest)
I triedbut did not work, what am I doing wrong?, is mandatory send options?