Solved

Get Store's Information From Shopify App

alexchong97
Visitor
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!

Accepted Solution (1)
policenauts1
Trailblazer
174 13 39

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. 

View solution in original post

Replies 3 (3)

policenauts1
Trailblazer
174 13 39
alexchong97
Visitor
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)

policenauts1
Trailblazer
174 13 39

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.