Core GraphQL APIReferenceMutations
Inventory__bulk Remove Stock
Requires a signed-in staff user. Needs the `inventory__Stock` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
inventory__bulkRemoveStock(input: BulkRemoveStockInput!): BulkStockMutationResult!Requires a signed-in staff user. Needs the inventory__Stock delete permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*Returns
- inventory__bulkRemoveStock
affectedCount*Int!requestedCount*Int!Example Request
mutation Inventory__bulkRemoveStock($input: BulkRemoveStockInput!) { inventory__bulkRemoveStock(input: $input) { affectedCount requestedCount }}{ "input": { "productIds": [ "1" ] }}{ "data": { "inventory__bulkRemoveStock": { "affectedCount": 10, "requestedCount": 10 } }}Inventory__bulk Remove Products MUTATION
Requires a signed-in staff user. Needs the `inventory__Product` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
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).