Mass Delete Cart Rules
Deletes several cart rules in one call — the Mass Delete action on the admin Marketing → Promotions → Cart Rules datagrid.
TIP
New here? Read the Cart Rules overview for what a cart rule does and how its fields behave.
Endpoint
| Endpoint | Method |
|---|---|
/api/admin/marketing/cart-rules/mass-delete | POST |
Details
- Requires an admin Bearer token and the
marketing.promotions.cart_rules.deletepermission. - Non-existent ids are silently skipped (returned in
skipped); the ids actually removed are returned indeleted. - An empty or missing
indiceslist returns a422error.
Request body
| Field | Type | Required | Notes |
|---|---|---|---|
indices | int[] | yes | Non-empty list of numeric rule ids to delete |

