Skip to main content

Get Authorization URL

GET 

//:domain/api/amazon/:integrationInstance/get-authorization-url

Returns the Amazon Seller Central OAuth authorization URL for the given Amazon integration instance. The frontend should redirect the user to this URL so they can grant SP-API access to SKU.io. Upon successful authorization, Amazon redirects the user back to the configured callback URL with spapi_oauth_code, state, and selling_partner_id query parameters.

When FakeOAuthService is enabled in non-production environments, a fake OAuth URL is returned to allow the OAuth handshake to be tested end-to-end without contacting Amazon.

Request

Responses

OK

Response Headers
    Content-Type