Skip to content

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.

Endpoint

EndpointMethod
/api/admin/marketing/catalog-rules/mass-deletePOST

Details

  • Requires an admin Bearer token and the marketing.promotions.catalog_rules.delete permission.
  • Non-existent ids are silently skipped (returned in skipped); the ids actually removed are returned in deleted.
  • An empty or missing indices list returns a 422 error.

Request body

FieldTypeRequiredNotes
indicesint[]yesNon-empty list of numeric rule ids to delete

Released under the MIT License.