Get Store's Information From Shopify App

Solved
Highlighted
New Member
3 0 0

I'm creating a Shopify app, I want to send stores an email once they install my app. Where can I access the store's basic information, such as email address?

Is there also a way to be notified when a new store installs/ purchases my app?

Thank you!

0 Likes
Highlighted
Highlighted
New Member
3 0 0

Is there a way to distinguish between a free user vs a paid user of my app? 

(My app has a paid and free trial version)

0 Likes
Highlighted
Trailblazer
165 13 26

This is an accepted solution.

There might be an endpoint for that, I'm not sure. If not, it's probably best to store a flag in your own database. One way is you could store the charge_id provided by the billing API and then run a check on that charge_id each time they enter your app. A lack of a charge_id in your db (if they're a free user and you don't route them through the Billing API) would indicate they're free. 

1 Like