Inventory__variant Templates
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).
inventory__variantTemplates(where: CommonPaginationDto): VariantTemplatesWithPagination!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).
Arguments
where?Returns
- inventory__variantTemplates
meta?nodes?query Inventory__variantTemplates { inventory__variantTemplates { meta { currentPage hasNextPage totalCount totalPages } nodes { _id commits { action committedAt note } configs { attributes name } createdAt description name tenant updatedAt } }}{ "data": { "inventory__variantTemplates": { "meta": { "currentPage": 10.5, "hasNextPage": true, "totalCount": 10.5, "totalPages": 10.5 }, "nodes": [ { "_id": "1", "commits": [ { "action": "string", "committedAt": "<DateTime>", "note": "string" } ], "configs": [ { "attributes": [ "string" ], "name": "string" } ], "createdAt": "<DateTime>", "description": "string", "name": "string", "tenant": "string", "updatedAt": "<DateTime>" } ] } }}Inventory__variant Template QUERY
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).
Links__link Clicks QUERY
Platform admin only.