Inventory__bulk Remove Collections
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__bulkRemoveCollections(input: BulkRemoveCollectionsInput!): BulkCollectionsMutationResult!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).
Arguments
input*Returns
- inventory__bulkRemoveCollections
affectedCount*Int!requestedCount*Int!mutation Inventory__bulkRemoveCollections($input: BulkRemoveCollectionsInput!) { inventory__bulkRemoveCollections(input: $input) { affectedCount requestedCount }}{ "input": { "ids": [ "1" ] }}{ "data": { "inventory__bulkRemoveCollections": { "affectedCount": 10, "requestedCount": 10 } }}Inventory__backfill Stock MUTATION
Requires a signed-in staff user. Needs the `inventory__Stock` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
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).