Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon SP-API authentication

I am trying to use the Amazon SP-API to make test calls via Postman. I have an application that can make API requests but it is not in the Amazon app marketplace. I have seen you can make Grantless requests that utilize the LWA token though I am stuck on making the actual call. Below is the call I am using to get the token.

URL: https://api.amazon.com/auth/o2/token Authorization: AWS Signature I add the requisite keys In the body I add grant_type: client_credentials, client_id: myclientid, client_secret: myclientsecret, scope: sellingpartnerapi::notifications ''' "access_token": "mytoken", "scope": "sellingpartnerapi::notifications", "token_type": "bearer", "expires_in": 3600 '''

Once I get that response I want to make a test call to retrieve orders using this URL

URL: https://sellingpartnerapi-na.amazon.com/orders/v0/orders

I am then lost as to how to authenticate that call to get the orders.

like image 989
Koehler Avatar asked Oct 19 '25 04:10

Koehler


1 Answers

I managed to get it all working in Postman using this as a quote / template.

https://github.com/ionafan2/selling-partner-api-postman-sandbox

like image 68
Shane Rutter Avatar answered Oct 22 '25 05:10

Shane Rutter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!