---
title: "GET /v1/crm/discounts/"
method: GET
path: "/v1/crm/discounts/"
tags: ["v1"]
---

# GET /v1/crm/discounts/

`GET /v1/crm/discounts/`

## Query parameters

- `deleted` boolean
- `search` string
- `type` 0 | 1 | 2

## Response `200`

- Discount[]
  - `id` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `name` string, required
  - `discount` integer
  - `start_at` string, date-time, nullable
  - `end_at` string, date-time, nullable
  - `type` 0 | 1 | 2 — * `0` - Скидка * `1` - Промокод * `2` - Сумма
  - `discount_type` 0 | 1 — * `0` - Процент * `1` - Сумма
  - `promocode` string, nullable
  - `usage_limit` integer
  - `extra` unknown
  - `active` boolean
  - `deleted` boolean
  - `tenant` integer
  - `created_by` integer, nullable

---

[API](https://skmtc.net/yume-cloud/apis/yume-api.md) · [All operations](https://skmtc.net/yume-cloud/apis/yume-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yume-cloud/yume-api/versions/90700f5abfcc/schema)
