Inventory__create Collection
Collection will create on which tenant user has access to. Requires a signed-in staff user. Needs the `inventory__Collection` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
inventory__createCollection(body: CreateCollectionInput!, tenant: String): CommonMutationResponse!Collection will create on which tenant user has access to. Requires a signed-in staff user. Needs the inventory__Collection create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
body*tenant?StringReturns
- inventory__createCollection
_id*ID!mutation Inventory__createCollection($body: CreateCollectionInput!) { inventory__createCollection(body: $body) { _id }}{ "body": { "name": "string" }}{ "data": { "inventory__createCollection": { "_id": "1" } }}Inventory__bulk Update Products MUTATION
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__create Information Template MUTATION
Creates a reusable set of product information sections. 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).