Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Inventory__remove Variant Template

Variant template will delete on which tenant user has access to. Requires a signed-in staff user. Needs the `inventory__VariantTemplate` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONinventory__removeVariantTemplate(where: CommonFindDocumentDto!): Boolean!

Variant template will delete on which tenant user has access to. Requires a signed-in staff user. Needs the inventory__VariantTemplate delete permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

where*

Returns

inventory__removeVariantTemplate*Boolean!
Example Request
mutation Inventory__removeVariantTemplate($where: CommonFindDocumentDto!) {  inventory__removeVariantTemplate(where: $where)}
Variables
{  "where": {    "and": [      {        "and": [          {            "and": [              {                "and": [                  {}                ],                "key": "string"              }            ],            "key": "string"          }        ],        "key": "string"      }    ],    "key": "string"  }}
Example Response
{  "data": {    "inventory__removeVariantTemplate": true  }}