How to Migrate an Amazon MWS authorization to a Selling Partner API application #3121
-
I've followed these instructions to a T. And no luck. Has anyone actually converted MWS to SP-API without seller interaction as described in the docs. I've also opened a support ticket and this post on StackOverflow: https://stackoverflow.com/questions/68868534/how-to-convert-amazon-mws-credentials-to-sp-api-creds |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 1 reply
-
StackOverflow started a maintenance window just as I was typing my response, so I'll copy + paste my response here for now: Unfortunately the specific Amazon docs that you link to don't tell the whole story. There are a few other requirements you'll need in order to get the Amazon OAuth TokenYou'll need an access token from Amazon's OAuth API (an entirely different API). You can use the
This will return an
Important: Take the Sign Your RequestThis is the actual reason behind the error you're receiving. An unsigned request will not include the "authorization token" that you're being prompted for. You'll need to sign your request using Amazon's Request signing will result in a few proprietary headers being added to your request. Once this is done, you should have all that you need to make the request successfully. |
Beta Was this translation helpful? Give feedback.
StackOverflow started a maintenance window just as I was typing my response, so I'll copy + paste my response here for now:
Unfortunately the specific Amazon docs that you link to don't tell the whole story. There are a few other requirements you'll need in order to get the
authorizationCode
response that you're looking for:Amazon OAuth Token
You'll need an access token from Amazon's OAuth API (an entirely different API). You can use the
grantless
workflow for this, since in your case the user hasn't actually authorized the SP-API yet: