skip to Main Content

Does the Shopify API have a way to get a list of all installed apps?

I want to keep a history of all apps installed on my stores. The only relevant thing I can find in the API docs is about a Webhook to get notified of an ‘app/uninstalled’ event.

EDIT

An ‘app/installed’ event would be ideal, if it existed. It would enhance the security of my stores if I could fetch the list of apps that are installed, or be notified when an app is installed or uninstalled.

To address security concerns, I believe that access to this data should be restricted in the same ways that other API endpoints and webhooks are restricted. The store owner would grant permission to an app to allow it access. This would make it as secure as, for example, customer names.

I’m looking for something roughly equivalent to WordPress’s get_plugins function, but for Shopify.

2

Answers


  1. No. You cannot use the API to query a shop about what Apps it has installed. Imagine that. You get to know all those little shop details and do what with them? Would be like giving you permission to uninstall Apps too. You see why that is a problem? Bad enough Apps can perform cross-talk with metafields… Apps would be another level of wrong.

    Login or Signup to reply.
  2. Hey you can use this endpoint to fetch all the installed apps https://shopify.dev/api/admin-graphql/2022-01/objects/queryroot#connections

    ##example request##

    appInstallations (first: 5) {
        edges {
          node {
            id,
            launchUrl,
            app{
              title
            },
          }
        }
      }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search