For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
Hi,
Our app can be installed and used with the Shopify ecosystem in two ways.
We want to implement Billing subscription APIs only for new merchants + new installs. How can we achieve this? Any pointers, examples will be much appreciated.
Hey there SoSimplified!
I might need a bit more clarification in order to help you out.
Why are you trying to only utilize the Billing API with new customers? Is there something missing from our APIs that you require for legacy work?
And is your question about how you might keep track of only new merchants?
If so, this is a bit of a tricky problem, explored a bit here: https://community.shopify.com/c/shopify-apps/distinguish-callback-url/m-p/779649
It looks like your best strategy might involve adding some logic to assume a store was already installed during the callback if it exists in your DB and has never seen the uninstall webhook hit for it.
Hope I could help a bit!
To learn more visit the Shopify Help Center or the Community Blog.
Thanks for the quick reply. More context