Inventory__update Collection
Collection will update on which tenant user has access to. Requires a signed-in staff user. Needs the `inventory__Collection` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
inventory__updateCollection(body: UpdateCollectionInput!, where: CommonFindDocumentDto!): Boolean!Collection will update on which tenant user has access to. Requires a signed-in staff user. Needs the inventory__Collection update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
body*where*Returns
inventory__updateCollection*Boolean!mutation Inventory__updateCollection($body: UpdateCollectionInput!, $where: CommonFindDocumentDto!) { inventory__updateCollection(body: $body, where: $where)}{ "body": { "description": "string", "logo": { "external": "string", "fileAssetId": "1" } }, "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "inventory__updateCollection": true }}Inventory__start Seed Job MUTATION
Starts a dataset import in the background and returns a jobId. Poll inventory__seedJobStatus for progress. Used by the "activate theme" import dialog to show a per-category progress bar. 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).
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).