Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Access scope for listing appInstallations

Access scope for listing appInstallations

sunbae
Shopify Partner
6 0 5

I'm trying to get all the apps of a shop using Shopify Graph QL just like this.

 

appInstallations(first: 10) {
  edges {
    node {
      id
    }
  }
}

 

And It gives me access denied. Is this already deprecated or which access scope should I get from OAuth

If anyone know about this please let me know, Thanks.

Replies 4 (4)

CalD
Shopify Staff
140 22 36

Hi @sunbae,

At this time, the GraphiQL app is the only API client that can request the appropriate permission to see appInstallations for every installed app. You can currently see your own appInstallation via currentAppInstallation field on the QueryRoot object, however, e.g.

{
  currentAppInstallation {
    id
    accessScopes {
      handle
    }
    activeSubscriptions {
      id
      currentPeriodEnd
    }
  }
}

 

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

daniellanger
Shopify Partner
10 0 13
JoshHighland
Shopify Partner
214 12 78

3 years later and it still doesn't work, but its listed in the API docs with no note of restrictions!

 

https://shopify.dev/docs/api/admin-graphql/2023-01/objects/appinstallation

SEO Manager - The all-in-One SEO solution for Shopify
A powerful suite of SEO tools that gets you found in Google results

- Install SEO Manager -