A place to discuss charging merchants for your apps and services using the billing API.
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!
Solved! Go to the solution
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.
You want this endpoint: https://shopify.dev/docs/admin-api/rest/reference/store-properties/shop
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)
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.