TanqoryDocs

tanqoryExtPartnerAppInstall

  • Mutation
  • Apps and platform

Installs the partner app whose API key is clientId with its requested scopes and the optionalScopes the merchant chose, updates the scopes of an installed one, or installs it again after an uninstall. A scope taken away ends the app's exchanged access tokens at once. Errors: NOT_FOUND (no such app can be installed from the dashboard), INVALID (an optional scope the app does not offer).

Arguments

ArgumentTypeRequiredDefault
clientIdString!Required
optionalScopes[String!]Optional

Returns

TanqoryExtPartnerAppInstallPayload

FieldTypeDescription
appInstallationAppInstallation
appPathString

The dashboard path that opens the app.

createdBoolean

True when the app was not installed before (a new installation or one after an uninstall).

userErrors[TanqoryExtPartnerAppInstallError!]!

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
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":"mutation TanqoryExtPartnerAppInstall($clientId: String!) {\n  tanqoryExtPartnerAppInstall(clientId: $clientId) {\n    appInstallation { id }\n    appPath\n    created\n    userErrors {\n      code\n      field\n      message\n    }\n  }\n}","variables":{"clientId":""}}'

Built from commit c0b3fb3fdef7 · API version 2026-10