Check if our app is still installed in a shop without access token

medev
Shopify Partner
3 0 0

How we can check our app is still active/Installed in a shop using API. Need to check it without user access token.

0 Likes
achieveapplabs
Shopify Partner
495 39 76

When the app is initially installed subscribe to appuninstalled webhook. When the app is uninstalled Shopify will send you a request signifying the uninstall action. Prior to this you can assume the app is installed. Without an access token you can't send valid requests to Shopify API so your choices are limited.

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

Thanks for the answer. 

I have few installation that I didn't tracked the installation/un-installation using webhook. Is there any way to check it again?

0 Likes
achieveapplabs
Shopify Partner
495 39 76

In that case write some application logic that updates a timestamp on your database when the customer logs in so you know they are active. Or you can subscribe to the appuninstall webhook the next time they use your app like after authentication and then all your existing installations will be fine. The ones in the past that never subscribed I think will be somewhat a hack to do this. Or you can simply email your merchants and ask if they're still using it, just a thought.

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

You can view the app installation and charge accept history of each shop via the partners dashboard search tool:

 

Untitled.png

0 Likes