amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
580 stars 730 forks source link

API to retrieve Business Information #1932

Closed therubioftw closed 1 year ago

therubioftw commented 2 years ago

I'm getting no help, so I assume it means there's no way to currently do it?

Discussed in https://github.com/amzn/selling-partner-api-docs/discussions/1495

Originally posted by **therubioftw** October 11, 2021 Is there an API that returns account information, like the Business Address, Legal Entity and so forth? Basically what is available here, under Seller Account Information: ![image](https://user-images.githubusercontent.com/63039754/136775283-5fc9e006-4cf7-4589-a506-dc34b31aa949.png) Currently the only thing returning with the LWA and SP-API tokens are an email, a name and the Merchant Token - and frankly, usually the email and name are internal and useless... Thanks!
moltar commented 2 years ago

email, a name and the Merchant Token

How do you get even that?

I tried requesting the profile, but get an error.

Which endpoint are you using?

therubioftw commented 2 years ago

Those are just part of the LWA and SP-API login handshaking process...

moltar commented 2 years ago

The merchant token sure. But name and email?

therubioftw commented 2 years ago

Yep, that comes back from LWA :)

Bariskau commented 2 years ago

@therubioftw Where exactly does it come from?

therubioftw commented 2 years ago

https://developer.amazon.com/docs/login-with-amazon/customer-profile.html

bchecketts commented 2 years ago

It is pretty insane that one can not find the Seller Name anywhere in the API. I've brought this up to Amazon on several occasions, but they have never addressed it. The obvious place to add it is as part of the response in the Sellers / Marketplace Participations endpoint at https://github.com/amzn/selling-partner-api-docs/blob/main/references/sellers-api/sellers.md

tspicer commented 2 years ago

As @bchecketts pointed out, important metadata for the seller account does not exist. It should be part of the sellers-api assuming the sellers-API meets the stated objective as a source of metadata about a seller.

As pointed out by @therubioftw LWA reflects something different, the metadata from the user authorizing the app. It does not reflect the metadata for the seller account.

Ideally, the seller-api would additionally return business information as highlighted in the OP. At a minimum, just adding the merchant Merchant Name (i.e., Acme Corp, My Sock Sales,...) would be a great start.

github-actions[bot] commented 1 year ago

This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.

moltar commented 1 year ago

Not stale.

GitHub stale bot considered harmful

GJ-JG commented 1 year ago

Hi all, thanks for the feedback. Can you please share some valid use cases why business information like business name, business address and legal entity are needed?

therubioftw commented 1 year ago

Hi @GJ-JG, We want to offer sellers a few different financial services, and retrieving this information from the API would allow us to skip a few of the questions we have to ask. Anything that can reduce friction will be helpful :) With this information specifically, it would allow us another level of identity verification - cross checking with their Amazon store legal ownership.

tspicer commented 1 year ago

@GJ-JG , I think one of the primary reasons is for parity. Amazon Advertising API has a profile endpoint https://advertising.amazon.com/API/docs/en-us/reference/2/profiles

This allows you to get metadata for an advertiser ID. At this point, Selling Partner does not provide an endpoint which provides consistent metadata about the Seller (or Vendor). The scope of who has access to this metadata should be limited to those who are authorized to access as the Ads API does.

The Amazon Ads profile metadata acts as a look-up table, so when Amazon Ads returns X data with profile_ID 1234567890, you have a path to look up "who the heck is profile ID 1234567890". Not having this information becomes increasingly problematic at scale if you have 100s or 1000s of sellers.

github-actions[bot] commented 1 year ago

This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.

github-actions[bot] commented 1 year ago

closed for inactivity