我尝试在Postman中调用getCatalogItem,但是
{
"errors": [
{
"message": "Access to requested resource is denied.",
"code": "Unauthorized",
"details": ""
}
]
}
在遵循https://developer-docs.amazon.com/sp-api/docs/connecting-to-the-selling-partner-api中提供的说明和示例之后,我通过Postman向sellers/v1/marketplaceParticipations
发送marketplaceParticipations请求时收到以下信息
{
"payload": [
{
"marketplace": {
"id": "AHRY1CZE9ZY4H",
"countryCode": "US",
"name": "Amazon.com Invoicing Shadow Marketplace",
"defaultCurrencyCode": "USD",
"defaultLanguageCode": "en_US",
"domainName": "invoicing-shadow-marketplace.amazon.com"
},
"participation": {
"isParticipating": true,
"hasSuspendedListings": false
}
},
{
"marketplace": {
"id": "ATVPDKIKX0DER",
"countryCode": "US",
"name": "Amazon.com",
"defaultCurrencyCode": "USD",
"defaultLanguageCode": "en_US",
"domainName": "www.amazon.com"
},
"participation": {
"isParticipating": true,
"hasSuspendedListings": true
}
}
]
}
但是当我尝试调用任何其他API端点时,我得到的是Access to requested resource is denied.
The Response and API Call in Postmanaccess key as x-amz-access-tokenaws auth signature
我正在调用https://api.amazon.com/auth/O2/token以获取访问密钥Here the postman request
1条答案
按热度按时间ct3nt3jp1#
请确保您具有进行该调用所需的权限。documentation提示您需要
批准您的开发人员配置文件中的产品列表角色。
以及
在应用程序注册页面中为您的应用程序选择的产品列表角色。