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

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
301 9 66

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)

Not applicable

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