jlevers / selling-partner-api

A PHP client library for Amazon's Selling Partner API
BSD 3-Clause "New" or "Revised" License
404 stars 197 forks source link

Application does not have access to one or more requested data elements: [buyerInfo, shippingAddress] #604

Closed gaiterjones closed 1 year ago

gaiterjones commented 1 year ago

Problem description:

I am migrating from the old MWS api to the selling partner api. I can retrieve order data but customer data is missing.

When I set data elements to buyerinfo and shipping address the permissions error is shown.

Customer PII data was available via the old api app. How can I grant the appropriate permissions to the new app for this data?

Error:

# Application does not have access to one or more requested data elements: [buyerInfo, shippingAddress]

Code

$data_elements = array('buyerInfo','shippingAddress');
gaiterjones commented 1 year ago

App must have Direct-to-Consumer Shipping enabled. Developer must be approved for PII.

To update your application permissions, please follow the steps below:

  1. Sign into Seller Central using the credentials that you used to register as a developer.
  2. In the Partner Network menu, click Develop Apps. The Developer Central page appears.
  3. Click the Edit app button next to the application that you want to update the information for. The App registration page appears.
  4. Edit the values on the page that you want to update, and then click Save and exit.

update refresh token