Category — Mass Delete
Bulk-deletes a batch of categories. Equivalent to POST /api/admin/catalog/categories/mass-delete.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminCategoryMassDelete | Mutation | Delete multiple categories at once |
Input
| Field | Type | Notes |
|---|---|---|
indices | [Int!]! | Category ids to delete |
Notes
- All-or-nothing. Any non-deletable id (root, channel root) rejects the entire batch with
errors[]carryingRoot and channel-root categories cannot be deleted. - Unknown ids are silently skipped — they do not appear in
deleted.

