categoryDeleteBulk
Remove several categories from the catalogue in one request.
Each id is deleted exactly as categoryDelete would delete it — the same checks apply and every deleted category emits its own event.
An id that cannot be deleted does not fail the request. It lands in failedIds with an entry in failures saying why, and the rest of the batch is deleted regardless. Repeated ids are collapsed, so an id sent twice gets one verdict.
Ids are processed in the order given and nothing is reordered: a parent sent before its own children is refused as CATEGORY_NOT_EMPTY even when the same request goes on to delete those children. Send children first.
Possible errors:
- INVALID_INPUT: The list of ids was empty.
AUTH: Role=[product.OWNER]
categoryDeleteBulk(
categoryIds: [Int!]!
): CategoryBulkDeleteResponse!
Arguments
categoryDeleteBulk.categoryIds ● [Int!]! non-null scalar
Numeric identifiers of the categories to delete, deepest first. Recommended maximum: 100 per request — advisory, not enforced.