Skip to content

List Catalog Rules

Lists every catalog rule in the store — the data behind the admin Marketing → Promotions → Catalog Rules datagrid.

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-rulesGET

Response envelope

Admin collections return a { data, meta } body envelope:

  • data — the catalog-rule rows for this page.
  • metacurrentPage, perPage, lastPage, total, from, to.

Each row carries the flat rule fields shown in the example. The heavier conditions, channels, and customerGroups are served only by the detail endpoint — they are null on list rows.

Query parameters

ParameterDescription
page, per_pagePagination (per_page default 10, max 50)
idSingle id or comma-separated list (e.g. 1,4,9)
nameName — partial match
status0 (inactive) / 1 (active)
sort_orderPriority — exact match
starts_from_from, starts_from_toStart-date range (ISO 8601)
ends_till_from, ends_till_toEnd-date range (ISO 8601)
sort, orderSort field (id, name, sort_order) + asc / desc (default id desc)

Filters compose with logical AND — more filters narrow the result.

Every /api/admin/* request requires an admin Bearer token.

Released under the MIT License.