Hi, I am also looking for this. Any update about this..?
Topic summary
Goal: Programmatically determine whether a specific shop has installed a public app and obtain a list of installs, ideally using only the shop’s myshopify.com domain (no per-shop access token), via the Shopify Partners GraphQL API.
-
Initial attempt: Querying app(id){ events(first:1, shopId:…) } works when a shop ID is known, but the requester only has the myshopifyDomain and seeks a way to derive the shop ID without an access token.
-
Community suggestion: Use a Partners API query for app events with types [RELATIONSHIP_INSTALLED, RELATIONSHIP_UNINSTALLED, RELATIONSHIP_DEACTIVATED, RELATIONSHIP_REACTIVATED], including pagination and occurredAtMin, returning shop { name, id, myshopifyDomain } to build an install list. (Code snippet is central.)
-
Latest update: The suggested approach fails with an API error: “Field ‘events’ doesn’t exist on type ‘App’,” indicating the events field is unavailable (removed or restricted), blocking this method.
-
Status and open questions: No confirmed method is provided to map myshopifyDomain to shop ID without a shop access token, nor to retrieve an install list purely via the Partners API. Multiple users requested updates; no resolution or workaround is confirmed.