Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Inventory__update Technical Specification Template

Updates a technical specification template. Products keep their copied specifications. 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).

MUTATIONinventory__updateTechnicalSpecificationTemplate(body: UpdateTechnicalSpecificationTemplateInput!, where: CommonFindDocumentDto!): Boolean!

Updates a technical specification template. Products keep their copied specifications. 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).

Arguments

body*
where*

Returns

inventory__updateTechnicalSpecificationTemplate*Boolean!
Example Request
mutation Inventory__updateTechnicalSpecificationTemplate($body: UpdateTechnicalSpecificationTemplateInput!, $where: CommonFindDocumentDto!) {  inventory__updateTechnicalSpecificationTemplate(body: $body, where: $where)}
Variables
{  "body": {    "description": "string",    "name": "string"  },  "where": {    "and": [      {        "and": [          {            "and": [              {                "and": [                  {}                ],                "key": "string"              }            ],            "key": "string"          }        ],        "key": "string"      }    ],    "key": "string"  }}
Example Response
{  "data": {    "inventory__updateTechnicalSpecificationTemplate": true  }}