Inventory__update Product
Product will update on which tenant user has access to. 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).
inventory__updateProduct(input: UpdateProductInput!, where: CommonFindDocumentDto!): Boolean!Product will update on which tenant user has access to. 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
input*where*Returns
inventory__updateProduct*Boolean!mutation Inventory__updateProduct($input: UpdateProductInput!, $where: CommonFindDocumentDto!) { inventory__updateProduct(input: $input, where: $where)}{ "input": { "allowBackorder": false, "initialQuantity": 0, "lowStockThreshold": 0, "trackInventory": true }, "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "inventory__updateProduct": true }}Inventory__update Information Template MUTATION
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).
Inventory__update Technical Specification Template MUTATION
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).