Is there any API for getting the installed app list?

Is there any API for getting the installed app list?

shikhas20
Shopify Partner
12 0 1

1)  I want a list of all stores installed in the app. Is there any API for getting the installed app list or history?

2) I am not getting read_all_order. I have already get read all order permission and added in scopes. Is there any solution?

Replies 2 (2)

bekanur98
Shopify Partner
4 1 2

Yes, you can get a list of installed via admin graphql: https://shopify.dev/docs/api/admin-graphql/2024-01/queries/appInstallations

den232
Shopify Partner
203 8 54

sadly

 

{
  appInstallations (first: 100) {nodes {
    id 
    app {title}
  }}
}

 

returns

 

{
  "errors": [
    {
      "message": "access denied",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "appInstallations"
      ],
      "extensions": {
        "code": "ACCESS_DENIED",
        "documentation": "https://shopify.dev/api/usage/access-scopes"
      }
    }
  ],
  "data": null,
  }
}

 ... any suggestions?