Get the authorization URL for the specified Amazon channel, which the owner of the channel can use to get a refresh token.
GET
/2024-09/channels/amazon/{channel}/get-auth-url
curl \
--request GET 'https://app.merchanthq.com/api/2024-09/channels/amazon/{channel}/get-auth-url' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"url": "https://sellingpartnerapi-na.amazon.com/apps/authorize/consent?application_id=amzn1.sp.solution.aaaaaaa-bbbb-cccc-bc20-eeeeeeeeeeee?state=eyAAAAAAAA"
}
Response examples (401)
{
"message": "Unauthorized"
}
Response examples (403)
{
"message": "This action is unauthorized."
}
Response examples (404)
{
"message": "Not found"
}