1
votes

I can see all of my installed apps in shopify admin/apps, but i want to check it using some code behind (from my rails app).

Is there any way to list all the installed apps in my Shopify Store

or check specific app if it's installed or not?

Thank you.

1

1 Answers

1
votes

check specific app if it's installed or not?

You can use ShopifyAPI::Shop.current. If the shop is not installed you'll get a ActiveResource::UnauthorizedAccess exception.

You'll also see ActiveResource::ClientErrors for shops that are suspended (e.g. credit card expired) and ActiveResource::ResourceNotFound for dead shops.