Unsubscribing from Shopify webhooks on app uninstall

Serge
Shopify Partner
8 0 1

Hello!

I develop a public Shopify app.

Please, tell me, should I manually unsubscribe from all Shopify API webhooks when I receive 'app/uninstall' callback or Shopify automatically removes all app webhook subsciptions upon app uninstall?

Thank you!

Replies 2 (2)

Zac12
Shopify Partner
65 0 20

Hey there Serge.

 

They are automatically removed on the app uninstallation.

 

Note, that if you added assets into the theme store there is no way to remove them when the user uninstalls the app, because all access to their store after that point is revoked.

It's a good idea if this is the case, to think about the uninstallation process users may need to do and post some basic instructions to follow to fully remove the app.

Zyber Developer | https://apps.shopify.com/trademe | https://apps.shopify.com/productfilter | https://apps.shopify.com/splittest

Serge
Shopify Partner
8 0 1

OK, thank you!