abuzuhri / Amazon-SP-API-CSharp

.Net C# library for the new Amazon Selling Partner API
MIT License
212 stars 186 forks source link

Address Shipping #497

Closed francescoz91 closed 1 year ago

francescoz91 commented 1 year ago

Hi everyone. I'm testing the API thanks to this repository. I noticed that when I request an order with the Orders.GetOrders() function and both the single order Orders.GetOrderItems(), many fields are Null including the shipping address ones. I tried to ask Orders.GetOrderAddress() and it only returns: City, postalcode and StateOrRegion. Is there something I'm doing wrong?

ThomasL1973 commented 1 year ago

This is because your api role doesn‘t Allow you to receive PII Data like Name, Shipping Address, etc

francescoz91 commented 1 year ago

This are my roles: image

They are correct? Or do I need to do something else?

Xriuk commented 1 year ago

You need to look in the roles of your Developer Profile, cause that's what becomes visible in the roles assignable to the app, if you don't have access to restricted roles personal information like names, addresses are not visible. That's Amazon...

francescoz91 commented 1 year ago

I checked my developer profile and Amazon didn't approve the answers given to your questions about application security. Does anyone know roughly how to pass PII checks?

they advised me to see here: https://sellercentral-europe.amazon.com/mws/static/policy?documentType=DPP&locale=eu

mehrdadsamadie commented 1 year ago

I am having the same issue but my role has these access already and used for MWS, any Idea?

Xriuk commented 1 year ago

I checked my developer profile and Amazon didn't approve the answers given to your questions about application security. Does anyone know roughly how to pass PII checks?

https://github.com/abuzuhri/Amazon-SP-API-CSharp/blob/main/PII_QA.md

smithburger commented 1 year ago

You are missing the direct to consumer role which is what grants PII. Getting access is rigorous. You would know if you requested and got it. PII in SP-API has nothing to do with PII in MWS>

image
abuzuhri commented 1 year ago

we going to close this since its permission problem only