Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceQueries

Plugin__google Gtm Accounts

Requires a signed-in staff user. Needs the `identity__Tenant` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).

QUERYplugin__googleGtmAccounts: [GtmAccountOption!]!

Requires a signed-in staff user. Needs the identity__Tenant read permission. Send the x-tenant header (the gateway sets it from your API key).

Returns

  1. plugin__googleGtmAccounts
accountId*String!
name*String!
Example Request
query Plugin__googleGtmAccounts {  plugin__googleGtmAccounts {    accountId    name  }}
Example Response
{  "data": {    "plugin__googleGtmAccounts": [      {        "accountId": "string",        "name": "string"      }    ]  }}