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.
I managed to get it all working in Postman using this as a quote / template.
https://github.com/ionafan2/selling-partner-api-postman-sandbox
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With