---
title: "List cart rules"
method: GET
path: "/marketing/cart-rules"
tags: ["Admin Marketing: Promotions"]
---

# List cart rules

`GET /marketing/cart-rules`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/marketing/cart-rules`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/marketing/cart-rules/get.ts> (a function with typed inputs; its response is checked against the schema)

Paginated, filterable, sortable list. Returns the standard { data, meta } admin envelope.

## Query parameters

- `page` integer
- `per_page` integer
- `id` string
- `name` string
- `coupon_code` string
- `status` integer
- `coupon_type` integer
- `sort_order` integer
- `starts_from_from` string, date-time
- `starts_from_to` string, date-time
- `ends_till_from` string, date-time
- `ends_till_to` string, date-time
- `sort` 'id' | 'name' | 'sort_order'
- `order` 'asc' | 'desc'

## Response `200`

Paginated list in the { data, meta } envelope. conditions / channels / customerGroups are detail-only and null on list rows.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
