Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Inventory__update Information Template

Updates an information template. Products keep their copied sections. 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__updateInformationTemplate(body: UpdateInformationTemplateInput!, where: CommonFindDocumentDto!): Boolean!

Updates an information template. Products keep their copied sections. 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__updateInformationTemplate*Boolean!
Example Request
mutation Inventory__updateInformationTemplate($body: UpdateInformationTemplateInput!, $where: CommonFindDocumentDto!) {  inventory__updateInformationTemplate(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__updateInformationTemplate": true  }}