user3076750
user3076750

Reputation: 115

Amazon Selling Partner SP-API Inventory 403 error

Anyone else have problems with the Amazon Selling Partner API endpoint "summaries" ?

I am trying to access the inventory summaries endpoint, from the US marketplace.
I am getting a 403 Forbidden response.
I have checked that the inventory endpoint access is allowed in Seller Central.
My code works for other endpoints, just this one is being rejected.

GET
https://sellingpartnerapi-na.amazon.com/fba/inventory/v1/summaries?marketplaceIds=ATVPDKIKX0DER&granularityType=Marketplace&granularityId=ATVPDKIKX0DER
I set the header: Content-Type: application/json


Response:
statusCode: 403
content: {"errors": [ {
    "message": "Access to requested resource is denied.",
    "code": "Unauthorized", "details": "" } ]}

Upvotes: 2

Views: 2154

Answers (1)

user3076750
user3076750

Reputation: 115

When you change permissions on Seller Central you have to gen a new Refresh Token.

Upvotes: 2

Related Questions