Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceQueries

Inventory__technical Specification Template

A single technical specification template 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).

QUERYinventory__technicalSpecificationTemplate(where: CommonFindDocumentDto!): TechnicalSpecificationTemplate!

A single technical specification template 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).

Arguments

where*

Returns

  1. inventory__technicalSpecificationTemplate
_id*ID!
commits?
createdAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

description?String
name*String!
sections?
tenant?String
updatedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

Example Request
query Inventory__technicalSpecificationTemplate($where: CommonFindDocumentDto!) {  inventory__technicalSpecificationTemplate(where: $where) {    _id    commits {      action      commitedBy {        email        name        phoneNumber        referenceId      }      committedAt      note    }    createdAt    description    name    sections {      key      notes      unit      value    }    tenant    updatedAt  }}
Variables
{  "where": {    "and": [      {        "and": [          {            "and": [              {                "and": [                  {}                ],                "key": "string"              }            ],            "key": "string"          }        ],        "key": "string"      }    ],    "key": "string"  }}
Example Response
{  "data": {    "inventory__technicalSpecificationTemplate": {      "_id": "1",      "commits": [        {          "action": "string",          "commitedBy": {            "email": "string",            "name": "string",            "phoneNumber": "string",            "referenceId": "1"          },          "committedAt": "<DateTime>",          "note": "string"        }      ],      "createdAt": "<DateTime>",      "description": "string",      "name": "string",      "sections": [        {          "key": "string",          "notes": "string",          "unit": "string",          "value": "string"        }      ],      "tenant": "string",      "updatedAt": "<DateTime>"    }  }}