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?
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.
The contact email used for communication between Shopify and the shop owner.
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.
Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...By Gabe Jan 6, 2023
How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...By Skye Dec 30, 2022