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

Solved
YoussefAfla
Shopify Partner
8 0 4

Hello

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

Accepted Solution (1)

Accepted Solutions
Visely-Team
Shopify Partner
1843 210 464

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

View solution in original post

Replies 8 (8)
Visely-Team
Shopify Partner
1843 210 464

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
Tourist
8 0 2

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

            }

    }

    }}

 

romie
Shopify Partner
3 0 3

Hi, Any luck with the solution for this?

BlackHawk17
Shopify Partner
7 0 2

We are trying to have the ability to retrieve apps installed by our customers for troubleshooting conflicts with our app. Due to liability reasons, we do not normally remote access into our customers stores.

We have been successful in getting the Shopify GraphiQL App to give us our own app information on my developer store. But when we try to implement it so we can retrieve the app information from our customers stores we get this:

“Oops, something went wrong. Oauth error missing_shopify_permission: read_apps”

Please provide us with the correct Scope Permission needed to make this work? Thank you!

Regards,
BlackHawk

HunkyBill
Shopify Expert
4764 54 551

I don't think you're going to just get read_apps scope. Why would Shopify let some rando App have access to a store, and be able to iterate all the Apps installed at that store? Can you say NO WAY!

If they do allow that, fine. I am wrong. But I would think that would be nasty. They are bending over backwards and trying to protect their merchants, not expose them to problems.

Have you asked Shopify about getting this scope for your App? What did they say?

 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
BlackHawk17
Shopify Partner
7 0 2

Well I guess there always has to be a clown at every circus. LOL Getting a list of apps for my customers I'm trying to help solve issues is much safer than me remoting into their store where I could do some real damage even by accident. Oh boy, well I guess asking our customers to give us a list for the billionth time is the only solution. Just trying to be more efficient to help our customers. Thanks for all your help brother Hucky! LOL

HunkyBill
Shopify Expert
4764 54 551

Yes, it must suck hard when your FB tracking pixel does not work and your customers phone up crying wah, wah... I can imagine that being a Debbie Downer.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
BlackHawk17
Shopify Partner
7 0 2

Is there a thumbs down anywhere I can click on.... Be kind my friend 🙂