Inventory__bulk Remove Products
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__bulkRemoveProducts(input: BulkRemoveProductsInput!): BulkProductsMutationResult!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).
Arguments
input*Returns
- inventory__bulkRemoveProducts
affectedCount*Int!requestedCount*Int!mutation Inventory__bulkRemoveProducts($input: BulkRemoveProductsInput!) { inventory__bulkRemoveProducts(input: $input) { affectedCount requestedCount }}{ "input": { "ids": [ "1" ] }}{ "data": { "inventory__bulkRemoveProducts": { "affectedCount": 10, "requestedCount": 10 } }}Inventory__bulk Remove Collections MUTATION
Deletes several collections on the current tenant in one call. Collections associated with products (or not found) are skipped, not failed — compare requestedCount to affectedCount to see how many were actually deleted. Requires a signed-in staff user. Needs the `inventory__Collection` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Inventory__bulk Remove Stock MUTATION
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).