Hello, all I have a Shopify app using nodejs and the Graphql Admin API.
I have noticed an issue where on some stores the following graphql query will return a Error: access denied
What is weird is that the merchant can access the app fine on his account but when I try to access it on his store using my partner account I the query returns Error: access denied ???
From what I understand this is the best way to determine if a store is currently subscribed to one of my apps plans.
https://shopify.dev/api/admin-graphql/2022-01/queries/appinstallation
{
appInstallation {
id
activeSubscriptions {
lineItems {
id
plan {
pricingDetails {
... on AppRecurringPricing {
__typename
price {
amount
currencyCode
}
interval
}
}
}
}
id
name
status
test
trialDays
createdAt
}
}
}