How to test against Amazon Sandbox (SP API)
Hello,
We are new to Amazon SP API. We are using the Java SDK to access the APIs.
We want to get the inventory of the seller on Amazon. To do this we are using the reports api.with GET_MERCHANT_LISTINGS_ALL_DATA option.
We wanted to test against Amazon SP API sandbox environment. However it is bit confusing as to what parameters to add as per (https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox#the-selling-partner-api-static-sandbox).
Can you please provide a sample ode for the same?
Thanks,
[Moderator Edit: removed personal information]
How to test against Amazon Sandbox (SP API)
Hello,
We are new to Amazon SP API. We are using the Java SDK to access the APIs.
We want to get the inventory of the seller on Amazon. To do this we are using the reports api.with GET_MERCHANT_LISTINGS_ALL_DATA option.
We wanted to test against Amazon SP API sandbox environment. However it is bit confusing as to what parameters to add as per (https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox#the-selling-partner-api-static-sandbox).
Can you please provide a sample ode for the same?
Thanks,
[Moderator Edit: removed personal information]
0 replies
Seller_LEq9dMwHW6DDa
We understand that sandbox should be prefixed to the host.
We were using the Reports API. We tested with the live API Urls and they work. However if we try to create report in the sandbox, we get the following error:
"code": "InvalidInput", "message": "Could not match input arguments",
We are not sure which is the argument which has failed.
Please help.
Jameson_Amazon
Hi @Seller_LEq9dMwHW6DDa,
Thank you for reaching out about this! I wanted to provide you with a couple resources that I think will be helpful for you:
- Seller University SP-API overview
- Selling Partner API Developer Guide
- Selling Partner API Overview Help Page
After taking a look at those pages, if you need additional assistance, please send me your case ID and I'd be happy to take a further look into those correspondences to see how I can best help here.
Please let me know if you have any additional questions!
All the best,
Jameson