Skip to content

How to Migrate an Amazon MWS authorization to a Selling Partner API application #3121

Answered by JordanForeman
Trimakas asked this question in General
Discussion options

You must be logged in to vote

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:

POST https://api.amazon.com/auth/o2/token

body: {
    grant_type: 'client_credentials',
    scope: 'sellingpartnerapi::migration',
    client_id: 'amzn1…

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Trimakas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants