How can I check store close or not using API/webhook

divyangsojitra
Shopify Partner
8 0 0

Hi, I have developed app and store owner subscribe to our services.

 

Now I got call for app uninstall and manage subscription plan in our app using appuninstall webhook .

 

But when store close, Shopify cancel subscription from their side but to do in our app we need to know store close or not?

 

As per check online , I got that, I need to use storeupdate webhook and check plan_name if it cancelled then consider it accordingly.

 

I have done that and tried to test in my development store. When I update any store settings like email,phone no,address etc. then I got webhook call but when I closed the store, I did not get that webhook call.

 

So how can I check the store is closed or not?

0 Likes
achieveapplabs
Shopify Partner
495 39 76

Hi @divyangsojitra ,

 

Merchant should be cancelling apps and services as part of their closing. Technically speaking closing a shop does not mean the merchant has uninstalled your app. On your app support page or otherwise inform your customers they should email directly advising of a shop closed situation. It is out of your hands so to speak, anything else is a hack. 

 

Best,

 

Sam

Use Approovly to create and track order approvals | Looking for more Shopify apps? achieveapplabs.com/#apps
0 Likes