How can I get a list of applications installed on Shopify (Name or Id of app)

Solved
YoussefAfla
Shopify Partner
8 0 3

Hello

How can I get a list of applications installed on Shopify (Name or Id of app)

0 Likes
Visely-Team
Shopify Partner
1835 210 436

This is an accepted solution.

If your intention is to get the list of installed apps for a Shopify store then you can use GraphQL API - https://help.shopify.com/en/api/graphql-admin-api/reference/queryroot , appInstallations field, which holds a list of https://help.shopify.com/en/api/graphql-admin-api/reference/object/appinstallation, which has all the details about the installed app.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
Jithen_g
New Member
4 0 0

Hi @Visely-Team,

Thanks for the above details.

This API is working fine as expected on the 'Shopify GraphiQL App' but if we try to execute same on postman or curl command it is throwing access denied error. Could you confirm how to use this in the external application other than 'Shopify GraphiQL App' ?

 endpoint requires access_scope = read_apps which is not recognized by Shopify's API but it is only detectable and working on 'Shopify GraphiQL App'

{    "data": null,

    "errors": [

        {   "message": "access denied",

            "locations": [

                {

                    "line": 1,

                    "column": 2

                }

            ],

            "path": [

                "appInstallations"

            ]

        }

    ],

    "extensions": {

        "cost": {

            "requestedQueryCost": 2,

            "actualQueryCost": 0,

            "throttleStatus": {

                "maximumAvailable": 1000,

                "currentlyAvailable": 1000,

                "restoreRate": 50

            }

    }

    }}

 

0 Likes