Inventory__variant Template
Only variant template that the user has access to will be returned. Requires a signed-in staff user. Needs the `inventory__VariantTemplate` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
inventory__variantTemplate(where: CommonFindDocumentDto!): VariantTemplate!Only variant template that the user has access to will be returned. Requires a signed-in staff user. Needs the inventory__VariantTemplate read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
- inventory__variantTemplate
_id*ID!commits?configs?createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
description?Stringname*String!tenant?StringupdatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
query Inventory__variantTemplate($where: CommonFindDocumentDto!) { inventory__variantTemplate(where: $where) { _id commits { action commitedBy { email name phoneNumber referenceId } committedAt note } configs { attributes name } createdAt description name tenant updatedAt }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "inventory__variantTemplate": { "_id": "1", "commits": [ { "action": "string", "commitedBy": { "email": "string", "name": "string", "phoneNumber": "string", "referenceId": "1" }, "committedAt": "<DateTime>", "note": "string" } ], "configs": [ { "attributes": [ "string" ], "name": "string" } ], "createdAt": "<DateTime>", "description": "string", "name": "string", "tenant": "string", "updatedAt": "<DateTime>" } }}Inventory__technical Specification Templates QUERY
Technical specification templates for the current tenant. Requires a signed-in staff user. Needs the `inventory__Product` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Inventory__variant Templates QUERY
Only variant templates that the user has access to will be returned. Requires a signed-in staff user. Needs the `inventory__VariantTemplate` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).