Inventory__create Variant Template
Variant template will create on which tenant user has access to. Requires a signed-in staff user. Needs the `inventory__VariantTemplate` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
inventory__createVariantTemplate(body: CreateVariantTemplateInput!, tenant: String): CommonMutationResponse!Variant template will create on which tenant user has access to. Requires a signed-in staff user. Needs the inventory__VariantTemplate create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
body*tenant?StringReturns
- inventory__createVariantTemplate
_id*ID!mutation Inventory__createVariantTemplate($body: CreateVariantTemplateInput!) { inventory__createVariantTemplate(body: $body) { _id }}{ "body": { "configs": [ { "attributes": [ "string" ], "name": "string" } ], "name": "string" }}{ "data": { "inventory__createVariantTemplate": { "_id": "1" } }}Inventory__create Technical Specification Template MUTATION
Creates a reusable set of product technical specifications. Requires a signed-in staff user. Needs the `inventory__Product` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Inventory__detach Collection From Products MUTATION
Removes one collection from products, leaving their other collections intact. Requires a signed-in staff user. Needs the `inventory__Product` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).