Closed egimenos closed 4 years ago
It's somewhat counterintuitive, but this operation does not default to your primary marketplace (because the Amazon API doesn't), so you need to specify which marketplace you're querying. See this example.
It's somewhat counterintuitive, but this operation does not default to your primary marketplace (because the Amazon API doesn't), so you need to specify which marketplace you're querying. See this example.
You are totally right, that solved my problem.
Thanks a lot!!
Hello,
peddler 2.4.1 Rails: 6.0.3.1 Ruby: 2.7.1
I'm just trying to replicate in irb a test that is working in Amazon Scratchpad:
I define my client (the error remains the same either using the marketplace shortcut or not)
client = MWS.orders(marketplace: "ES", merchant_id: ENV["MERCHANT_ID"])
Inspecting the client object, everything looks as expected:
Then if I try to retrieve the orders:
client.list_orders(created_after: 1.month.ago)
I got this error:
I'm sorry if I missing something obvious, thanks in advance.