---
title: "Query coupons"
method: POST
path: "/coupons/search"
tags: ["Coupons"]
---

# Query coupons

`POST /coupons/search`

Use when listing or searching coupons (e.g. promo management). Returns a paginated list; supports filtering and sorting.

## Request body

- TypesCouponFilter
  - `coupon_ids` string[]
  - `expand` string
  - `filters` TypesFilterCondition[]
    - `data_type` 'string' | 'number' | 'date' | 'array'
    - `field` string
    - `operator` 'eq' | 'contains' | 'not_contains' | 'gt' | 'lt' | 'in' | 'not_in' | 'before' | 'after'
    - `value` TypesValue
      - `array` string[]
      - `boolean` boolean
      - `date` string
      - `number` number
      - `string` string
  - `limit` integer
  - `offset` integer
  - `order` 'asc' | 'desc'
  - `sort` TypesSortCondition[]
    - `direction` 'asc' | 'desc'
    - `field` string
  - `status` 'published' | 'deleted' | 'archived'

## Response `200`

OK

- ListCouponsResponse
  - `items` CouponResponse[]
    - `amount_off` string
    - `cadence` 'once' | 'repeated' | 'forever'
    - `created_at` string, date-time
    - `created_by` string
    - `currency` string
    - `duration_in_periods` integer
    - `environment_id` string
    - `id` string
    - `max_redemptions` integer
    - `metadata` object
    - `name` string
    - `percentage_off` string
    - `redeem_after` string
    - `redeem_before` string
    - `rules` object
    - `status` 'published' | 'deleted' | 'archived'
    - `tenant_id` string
    - `total_redemptions` integer
    - `type` 'fixed' | 'percentage'
    - `updated_at` string, date-time
    - `updated_by` string
  - `pagination` TypesPaginationResponse
    - `limit` integer
    - `offset` integer
    - `total` integer

## Other responses

- `400` — Invalid request
- `500` — Server error

## Changes

- **2026-05-18** `8ec2edea6b20` — 4 warning
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `details` from the response with the `500` status
  - added the new `too_many_requests` enum value to the `code` response property for the response status `400`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `500`
- **2026-04-06** `95af41a12111` — 4 warning, 8 info
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `error` from the response with the `500` status
  - removed the optional property `success` from the response with the `400` status
  - removed the optional property `success` from the response with the `500` status
  - …8 more

[Change history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/coupons/search/post.md)

---

[API](https://skmtc.dev/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.dev/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/revisions/2a40f94de722/schema)
