Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Plugin__create Gtm Container

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

MUTATIONplugin__createGtmContainer(input: CreateGtmContainerInput!): GtmContainerOption!

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

Arguments

input*

Returns

  1. plugin__createGtmContainer
accountId*String!
containerId*String!
name*String!
path*String!
publicId*String!
Example Request
mutation Plugin__createGtmContainer($input: CreateGtmContainerInput!) {  plugin__createGtmContainer(input: $input) {    accountId    containerId    name    path    publicId  }}
Variables
{  "input": {    "accountId": "string",    "name": "string"  }}
Example Response
{  "data": {    "plugin__createGtmContainer": {      "accountId": "string",      "containerId": "string",      "name": "string",      "path": "string",      "publicId": "string"    }  }}