Mass Delete Catalog Rules
Deletes several catalog rules in one call — the Mass Delete action on the admin Marketing → Promotions → Catalog Rules datagrid. Removing rules recomputes affected product prices in the background.
TIP
New here? Read the Catalog Rules overview for what a catalog rule does and how its fields behave.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminMarketingCatalogRuleMassDelete | Mutation | Delete multiple catalog rules |
Details
- Requires an admin Bearer token and the
marketing.promotions.catalog_rules.deletepermission. - Pass the numeric rule ids in
indices. Non-existent ids are silently skipped (returned inskipped); the ids actually removed are returned indeleted. - An empty or missing
indiceslist returns a422error.
Input fields
| Field | Type | Required | Notes |
|---|---|---|---|
indices | Array | Yes | Non-empty list of numeric rule ids to delete |

