lineofflight / peddler

Amazon Selling Partner API (SP-API) in Ruby
MIT License
307 stars 130 forks source link

Get Orders doesn't work for multiple orders #111

Closed prathip111 closed 6 years ago

prathip111 commented 6 years ago

response = client.get_order("XXX-1236548-4587XXX", "XXX-1546987-7845XXX") order = response.parse

The documentation says it can take upto 50 orders as input..but while 'response' has info for all 50 orders, once it's parsed, only the first order seems to show.

hakanensari commented 6 years ago

@prathip111 I'm not sure, everything looks in order in the test.

Perhaps this earlier discussion helps.

prathip111 commented 6 years ago

I'm able to get 50 orders in XML format but when i tried to parse the response it only returning single order

prathip111 commented 6 years ago

your testing code is working fine thanks a lot...