---
title: "Query price units"
method: POST
path: "/prices/units/search"
tags: ["Price Units"]
---

# Query price units

`POST /prices/units/search`

Use when searching or listing price units (e.g. admin catalog). Returns a paginated list; supports filtering and sorting.

## Request body

- TypesPriceUnitFilter
  - `end_time` string, date-time
  - `expand` string
  - `filters` TypesFilterCondition[] — filters allows complex filtering based on multiple fields
    - `data_type` 'string' | 'number' | 'date' | 'array'
    - `field` string
    - `operator` 'eq' | 'contains' | 'not_contains' | 'gt' | 'lt' | 'gte' | 'in' | 'not_in' | 'before' | 'after'
    - `value` TypesValue
      - `array` string[]
      - `boolean` boolean
      - `date` string
      - `number` number
      - `string` string
  - `limit` integer
  - `offset` integer
  - `order` 'asc' | 'desc'
  - `price_unit_ids` string[]
  - `sort` TypesSortCondition[]
    - `direction` 'asc' | 'desc'
    - `field` string
  - `start_time` string, date-time
  - `status` 'published' | 'deleted' | 'archived'

## Response `200`

OK

- ListPriceUnitsResponse
  - `items` PriceUnitResponse[]
    - `base_currency` string
    - `code` string
    - `conversion_rate` string
    - `created_at` string, date-time
    - `created_by` string
    - `environment_id` string
    - `id` string
    - `metadata` TypesMetadata
    - `name` string
    - `status` 'published' | 'deleted' | 'archived'
    - `symbol` string
    - `tenant_id` string
    - `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-07-15** `f8ecf435d25d` — 2 warning, 1 info
  - added the new `not_implemented` enum value to the `code` response property for the response status `400`
  - added the new `not_implemented` enum value to the `code` response property for the response status `500`
  - added the new `gte` enum value to the request property `filters/items/operator`
- **2026-07-09** `646d6658479b` — 2 breaking
  - the `end_time` request property type/format changed from `string`/`` to `string`/`date-time`
  - the `start_time` request property type/format changed from `string`/`` to `string`/`date-time`
- **2026-07-09** `7d57386313c7` — 4 breaking, 3 warning, 13 info
  - the request's body type/format changed from ``/`` to `object`/``
  - the `items/items/metadata` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `items/items/status` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - the `pagination` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - …16 more
- …earlier changes not shown

[Full history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/prices/units/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/9cd0dab91f5c/schema)
