Development discussions around Shopify APIs
Hi,
We are building an app to integrate our product to Shopify and we want to retrieve the store owner email to use that as a master account credential that will group all the store owned by the user. But we can't get that. The Shop object returns the owner name but not his email. And the Shop->email and Shop->customer_email are returning the Store contact information, not the Store owner information.
Is there a way to get the Store owner email?
Regards,
Leonardo.
Having the same issue, did you manage to find a solution?
The store owner's email is and always has been the Shop object email. I am not sure why you think different on this. It is easy to prove. Just examine the current Shop object and compare with reality in the Admin of your test shop.
Because its not. Shop.email is corresponds to the "Store contact email" not the email of the store owners account. It does however default to the store owners email but can be changed at any time.
And just what email does the person paying the bill for the shop use? How is that different from the store owner? In other words, what phantom are you asking for?
It might be easier to reference the docs here.
https://shopify.dev/api/admin-rest/2021-07/resources/shop#resource_object
The contact email used for communication between Shopify and the shop owner.
Versus:
customer_emailThe contact email used for communication between the shop owner and the customer.
Shop.emailThe shop owner's email address. Shopify will use this email address to communicate with the shop owner.
User | RANK |
---|---|
44 | |
16 | |
9 | |
9 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023