Focuses on API authentication, access scopes, and permission management.
I am trying to get a unique ID, value or key that determines who the owner is (should be under 1 account/email) of multiple Shopify stores. Is there an admin API that can provide this info?
One thing I noticed is that Shopify Partners is able to manage multiple stores. Unsure of how 1 account can create multiple stores, but I see that we get top level access of the "partner" and is able to view multiple stores. Not sure if Partners and account owners of multiple stores are related.
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi Mike,
The Shopify API does not expose a direct relationship between a partner (or merchant) account and the stores they manage. Each store is considered a separate entity with its own set of API credentials. This means you can't retrieve a list of all stores owned by a specific partner or merchant directly from the API.
If you're trying to identify the ownership of multiple stores, you would need to maintain a separate record or database listing which partner account created or manages each store. You could potentially use the Partner API to automate some of this record-keeping, but it would require custom development work.
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hi Mike,
The Shopify API does not expose a direct relationship between a partner (or merchant) account and the stores they manage. Each store is considered a separate entity with its own set of API credentials. This means you can't retrieve a list of all stores owned by a specific partner or merchant directly from the API.
If you're trying to identify the ownership of multiple stores, you would need to maintain a separate record or database listing which partner account created or manages each store. You could potentially use the Partner API to automate some of this record-keeping, but it would require custom development work.
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog