Reputation: 359
I have create a shopify app but when user delete that app in his store then can we call back any api so that we could delete his data?
Upvotes: 0
Views: 858
Reputation: 12943
There is a webhook that you can listen for called app/uninstalled
.
This fires when an app is uninstalled and you can delete the store data in your database.
Refer to the docs here: https://shopify.dev/docs/admin-api/rest/reference/events/webhook?api[version]=2020-04
Upvotes: 1