tanqoryExtAppInstallRequest
- Query
- Apps and platform
What the install consent page shows for the partner app whose API key is clientId. Null when no such app can be installed from the dashboard (unknown, made by Tanqory, not embedded, no handle or no frameable URL).
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
clientId | String! | Required |
Returns
TanqoryExtAppInstallRequest What the install consent page shows for a partner app.
| Field | Type | Description |
|---|---|---|
app | App! | The app. |
appPath | String! | The dashboard path that opens the app, |
bridgeCapabilities | [TanqoryExtAppBridgeCapability!]! | The device capabilities the app declared, each with its reason: the consent page lists them under the scopes. |
canInstall | Boolean! | Whether the member asking may install apps (apps.manage and a role that may change the store). |
installation | AppInstallation | The installation, when the app is installed on the store. |
newScopes | [String!]! | Requested scopes the installation does not hold yet: every one for an app not installed. |
optionalScopes | [AccessScope!]! | The scopes the merchant may grant or leave out. |
paidFrom | TanqoryExtAppPaidFrom | Where the app's paid plans start: the lowest priced plan's amount and period; null for a free or usage-only app. |
pricingKinds | [String!]! | The app's pricing as the public App Store reads its listing's plans: which of free, free-plan, free-trial and paid it is (an app can be several); empty when the listing has no plans. The page picks the words. |
requestedScopes | [AccessScope!]! | The scopes the app needs (its current version's requested scopes). |
Example request
A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.
Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
-H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
--data '{"query":"query TanqoryExtAppInstallRequest($clientId: String!) {\n tanqoryExtAppInstallRequest(clientId: $clientId) {\n app { id }\n appPath\n canInstall\n installation { id }\n newScopes\n pricingKinds\n }\n}","variables":{"clientId":""}}'// Node.js 18 or later (fetch is built in). Save as request.mjs and run: node request.mjs
const query = `query TanqoryExtAppInstallRequest(\$clientId: String!) {
tanqoryExtAppInstallRequest(clientId: \$clientId) {
app { id }
appPath
canInstall
installation { id }
newScopes
pricingKinds
}
}`;
const variables = {
"clientId": ""
};
const res = await fetch(`https://api.tanqory.com/admin/2026-10/stores/${process.env.STORE_ID}/graphql`, {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + process.env.TANQORY_ACCESS_TOKEN,
'Content-Type': 'application/json',
},
body: JSON.stringify({ query, variables }),
});
console.log(res.status, JSON.stringify(await res.json(), null, 2));# Python 3, standard library only. Save as request.py and run: python3 request.py
import json, os, urllib.request
query = """query TanqoryExtAppInstallRequest($clientId: String!) {
tanqoryExtAppInstallRequest(clientId: $clientId) {
app { id }
appPath
canInstall
installation { id }
newScopes
pricingKinds
}
}"""
variables = json.loads("""{
"clientId": ""
}""")
req = urllib.request.Request(
"https://api.tanqory.com/admin/2026-10/stores/" + os.environ["STORE_ID"] + "/graphql",
data=json.dumps({"query": query, "variables": variables}).encode(),
headers={
"Authorization": "Bearer " + os.environ["TANQORY_ACCESS_TOKEN"],
"Content-Type": "application/json",
},
)
with urllib.request.urlopen(req) as res:
print(res.status, json.dumps(json.load(res), indent=2))