Shopify partner API get the app list of active app are installed

Shopify partner API get the app list of active app are installed

1080
Shopify Partner
297 9 64

Shopify partner API get the app list of active app are installed.

here is node js sample code to get the partner api.

 let url = `https://partners.shopify.com/${partnerid}/api/2023-01/graphql.json`;
 console.log(" Partner API endpoint -- ", url)
    const query = `
    query {
        publicApiVersions {
        displayName
          handle
        }
      }
  `;


    try {

    const options = {
        method: 'POST',
        headers: {
        'Content-Type': 'application/graphql',
        'X-Shopify-Access-Token': accessToken
        },
        // body: JSON.stringify(query)
        body: query
    };

    const response = await fetch(url, options);
    console.log(" response - ", response)
    const result = await response.json();

    console.log(JSON.stringify(result) );
    //   return app_id;
    } catch (error) {
      console.error(error);
    }
Reply 1 (1)

hashcode_io
Shopify Partner
115 3 13

@1080 
I am working on the same I am not able to get the active app installed user count.
have you resolve this issue ?

Shopify Team @ Conversios System
Please confirm its success with a like or marking it as a solution!
Google analytics 4
SST - Server-side tagging solution.
#martech#GA4 #GTM #ownGTM #SST #ServerSideTagging