Fire a Shopify API before app uninstall

Hello there,

We would need to reset a Shopify settings configuration when the app is uninstalled, but for obvious reasons, we cannot do this on the uninstall webhook (the access token is expired already).

The use case is really specific and it is required for compliance, is there a way to detect when the uninstallation process started, so we can make this request before the access token is invalid?

Best Regards,

1 Like

Hi @Jonida_Mersinllari,

Unfortunately there are no webhook topics or other ways to tell when an app is about to be uninstalled, but hasn’t been uninstalled yet, the app/uninstalled webhook does only trigger once the app is actually uninstalled from the store.

Can I ask for some more context on your use case here, what you’re trying to accomplish exactly, so we can help see if there are any potential workarounds we can recommend.