Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Inventory__create Technical Specification Template

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).

MUTATIONinventory__createTechnicalSpecificationTemplate(body: CreateTechnicalSpecificationTemplateInput!, tenant: String): CommonMutationResponse!

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).

Arguments

body*
tenant?String

Returns

  1. inventory__createTechnicalSpecificationTemplate
_id*ID!
Example Request
mutation Inventory__createTechnicalSpecificationTemplate($body: CreateTechnicalSpecificationTemplateInput!) {  inventory__createTechnicalSpecificationTemplate(body: $body) {    _id  }}
Variables
{  "body": {    "name": "string",    "sections": [      {        "key": "string"      }    ]  }}
Example Response
{  "data": {    "inventory__createTechnicalSpecificationTemplate": {      "_id": "1"    }  }}