---
metadata:
  - name: generator
    content: Diplodoc Platform v5.61.0
alternate:
  - https://yandex.ru/dev/kit/ru/openapi/Kollekcii/UpdateCollection.md
  - href: https://yandex.ru/dev/kit/ru/openapi/Kollekcii/UpdateCollection.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/dev/kit/ru/llms.txt
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/kit/ru/llms.txt

<div class="openapi">

# Обновление коллекции

<!-- markdownlint-disable-file -->

Обновляет информацию о коллекции.

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-patch);margin-bottom: 12px">

<div class="openapi__request">

PATCH {.openapi__method}
```text translate=no
https://api.kit.yandex.net/v1/collections/{collection_id}
```

</div>

</div>

</div>

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "title": "Коллекция 1",
  "slug": "kollektsiya-1",
  "status": "ACTIVE",
  "description": "Коллекция 1",
  "seo_title": "Коллекция 1",
  "seo_h1": "Коллекция 1",
  "seo_description": "Коллекция 1",
  "is_available_in_ad_feed": true,
  "dynamic_filter": {
    "category_slugs": [
      "vsye-dlya-sna"
    ],
    "main_filter": [
      {
        "field": "price",
        "operator": "EQ",
        "value": "example"
      }
    ],
    "characteristic_filters": [
      null
    ]
  },
  "file_id": "019b21d9-c5d9-777d-80bd-d67c664bc6d9",
  "collection_sort": "OLDEST"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_collection_sort_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [CollectionSort](#entity-CollectionSort)

Сортировка карточек в коллекции:
- `OLDEST` — старые.
- `NEWEST` — новые.
- `SORT_WEIGHT` — приоритет в каталоге.
- `CHEAPEST` — дешевые.
- `EXPENSIVE` — дорогие.
- `MANUAL` — ручная сортировка.

_Enum:_{.json-schema-reset .json-schema-value} `OLDEST`, `NEWEST`, `SORT_WEIGHT`, `CHEAPEST`, `EXPENSIVE`, `MANUAL`
{.table-cell}
||
||

_description_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Описание коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
||

_dynamic_filter_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [DynamicCollectionFilter](#entity-DynamicCollectionFilter)

Конфигурация фильтра для динамических коллекций. Задает критерии автоматического
наполнения коллекции товарами, удовлетворяющими указанным условиям.

**Использование:**
- Обязателен для динамических коллекций.
- Запрещен для статических коллекций.
- Несколько фильтров объединяются по логике AND.
- URL идендификаторы категорий ограничивают выборку товарами из заданных категорий.
- В `main_filter` допустим только перечень полей `field`, указанный в описании этого поля.
- В `characteristic_filters` поле `field` — URL идентификатор характеристики (правила значений и операторов см. в описании `characteristic_filters`).


{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "category_slugs": [
    "vsye-dlya-sna"
  ],
  "main_filter": [
    {
      "field": "price",
      "operator": "EQ",
      "value": "example"
    }
  ],
  "characteristic_filters": [
    null
  ]
}
```

{% endcut %}
{.table-cell}
||
||

_file_id_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;uuid&gt;

ID файла изображения коллекции.

_Example:_{.json-schema-reset .json-schema-example} `019b21d9-c5d9-777d-80bd-d67c664bc6d9`
{.table-cell}
||
||

_is_available_in_ad_feed_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Доступна ли коллекция в рекламном фиде.
{.table-cell}
||
||

_seo_description_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

SEO описание коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
||

_seo_h1_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

SEO H1 коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
||

_seo_title_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

SEO заголовок коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
||

_slug_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

URL идентификатор коллекции.

_Example:_{.json-schema-reset .json-schema-example} `kollektsiya-1`
{.table-cell}
||
||

_status_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [CollectionStatus](#entity-CollectionStatus)

Статус коллекции:
- `ACTIVE` — активна, отображается в каталоге.
- `INACTIVE` — неактивна, не отображается в каталоге.

_Enum:_{.json-schema-reset .json-schema-value} `ACTIVE`, `INACTIVE`
{.table-cell}
||
||

_title_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Название коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### CollectionStatus {#entity-CollectionStatus}

Статус коллекции:
- `ACTIVE` — активна, отображается в каталоге.
- `INACTIVE` — неактивна, не отображается в каталоге.

**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `ACTIVE`, `INACTIVE`

</div>

<div class="openapi-entity">

### SingleValueFilterOperator {#entity-SingleValueFilterOperator}

Оператор фильтрации для одного значения:
- `EQ` — равно.
- `NE` — не равно.
- `GT` — больше.
- `LT` — меньше.
- `GE` — больше или равно.
- `LE` — меньше или равно.


**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `EQ`, `NE`, `GT`, `LT`, `GE`, `LE`

</div>

<div class="openapi-entity">

### ProductVariantSingleValueFilter {#entity-ProductVariantSingleValueFilter}

#|
|| **Name** | **Description** ||
||

_field_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Поле для фильтрации.


_Example:_{.json-schema-reset .json-schema-example} `price`
{.table-cell}
||
||

_operator_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [SingleValueFilterOperator](#entity-SingleValueFilterOperator)

Оператор фильтрации для одного значения:
- `EQ` — равно.
- `NE` — не равно.
- `GT` — больше.
- `LT` — меньше.
- `GE` — больше или равно.
- `LE` — меньше или равно.


_Enum:_{.json-schema-reset .json-schema-value} `EQ`, `NE`, `GT`, `LT`, `GE`, `LE`
{.table-cell}
||
||

_value_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "field": "price",
  "operator": "EQ",
  "value": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### MultiValueFilterOperator {#entity-MultiValueFilterOperator}

Оператор фильтрации для нескольких значений:
- `IN` — входит в массив.
- `NOT_IN` — не входит в массив.


**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `IN`, `NOT_IN`

</div>

<div class="openapi-entity">

### ProductVariantMultiValueFilter {#entity-ProductVariantMultiValueFilter}

#|
|| **Name** | **Description** ||
||

_field_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_operator_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [MultiValueFilterOperator](#entity-MultiValueFilterOperator)

Оператор фильтрации для нескольких значений:
- `IN` — входит в массив.
- `NOT_IN` — не входит в массив.


_Enum:_{.json-schema-reset .json-schema-value} `IN`, `NOT_IN`
{.table-cell}
||
||

_values_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string[]

Массив значений для фильтрации.

_Min items:_{.json-schema-reset .json-schema-assertion} `1`

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  "example"
]
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "field": "example",
  "operator": "IN",
  "values": [
    "example"
  ]
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### ProductVariantRequestFilter {#entity-ProductVariantRequestFilter}

{% cut "**One of 2 types**" %}{.json-schema-combinators data-marker=or}

- **Type**: [ProductVariantSingleValueFilter](#entity-ProductVariantSingleValueFilter)

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "field": "price",
    "operator": "EQ",
    "value": "example"
  }
  ```

  {% endcut %}

- **Type**: [ProductVariantMultiValueFilter](#entity-ProductVariantMultiValueFilter)

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "field": "example",
    "operator": "IN",
    "values": [
      "example"
    ]
  }
  ```

  {% endcut %}

{% endcut %}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "field": "price",
  "operator": "EQ",
  "value": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### DynamicCollectionFilter {#entity-DynamicCollectionFilter}

Конфигурация фильтра для динамических коллекций. Задает критерии автоматического
наполнения коллекции товарами, удовлетворяющими указанным условиям.

**Использование:**
- Обязателен для динамических коллекций.
- Запрещен для статических коллекций.
- Несколько фильтров объединяются по логике AND.
- URL идендификаторы категорий ограничивают выборку товарами из заданных категорий.
- В `main_filter` допустим только перечень полей `field`, указанный в описании этого поля.
- В `characteristic_filters` поле `field` — URL идентификатор характеристики (правила значений и операторов см. в описании `characteristic_filters`).


#|
|| **Name** | **Description** ||
||

_category_slugs_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string[]

Массив URL идентификаторов категорий для фильтрации товаров. Товар должен принадлежать
хотя бы одной из этих категорий, чтобы попасть в коллекцию.
### Пример: ["vsye-dlya-sna", "smartphones", "accessories"]


{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  "vsye-dlya-sna"
]
```

{% endcut %}
{.table-cell}
||
||

_characteristic_filters_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [ProductVariantRequestFilter](#entity-ProductVariantRequestFilter)[]

В `field` указывается **URL идентификатор характеристики**.
Все условия объединяются по логике AND.

**Числовая характеристика:** укажите одно число в `value` (строкой, например, `"42.5"`).
Доступные операторы: `EQ`, `NE`, `GE`, `GT`, `LT`, `LE` (равно, не равно, больше или равно,
больше, меньше, меньше или равно).

**Строковая характеристика:** укажите одно или несколько значений в `values`.
Доступны только операторы  `IN` и `NOT_IN` (входит в массив / не входит в массив ни одному из перечисленных).

Поля `value` и `values` взаимоисключающие: для числовой характеристики заполняется `value`,
для строковой — `values`.
### Пример (строковая характеристика):
- field: "tsvet"
  operator: "EQ"
  values: ["red", "blue"]
### Пример (числовая характеристика):
- field: "ves-kg"
  operator: "LE"
  value: "10"


{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "field": "price",
    "operator": "EQ",
    "value": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
||

_main_filter_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [ProductVariantRequestFilter](#entity-ProductVariantRequestFilter)[]

Массив дополнительных условий фильтрации (в JSON — **массив** объектов `[{...}, ...]`, не один объект).
Все условия должны выполняться одновременно, чтобы товар попал в коллекцию (логика AND).

Допустимые значения `field` (остальные поля в `main_filter` не поддерживаются):
- `total_quantity` — общее количество на складе (одно целочисленное значение в `value`).
- `price` — цена до скидки (одно целочисленное значение в `value`).
- `manual_discount_price` — цена с ручной скидкой (одно целочисленное значение в `value`).
- `promotion_price` — цена по акции (одно целочисленное значение в `value`).
- `final_price` — финальная цена (одно целочисленное значение в `value`).
- `sort_weight` — приоритет в каталоге (одно целочисленное значение в `value`).
- `vat` — НДС (одно или несколько целочисленных значений в `values`).
- `badge_slugs` — URL идентификаторы бейджей (строки в `values`).
- `has_characteristics` — наличие характеристик (URL идентификаторы характеристик в `value` или `values`).

Операторы — см. схемы SingleValueFilterOperator и MultiValueFilterOperator.
### Пример:
- field: "final_price"
  operator: "LT"
  value: "1000"
- field: "badge_slugs"
  operator: "IN"
  values: ["sale", "discount"]


{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "field": "price",
    "operator": "EQ",
    "value": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "category_slugs": [
    "vsye-dlya-sna"
  ],
  "main_filter": [
    {
      "field": "price",
      "operator": "EQ",
      "value": "example"
    }
  ],
  "characteristic_filters": [
    null
  ]
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### CollectionSort {#entity-CollectionSort}

Сортировка карточек в коллекции:
- `OLDEST` — старые.
- `NEWEST` — новые.
- `SORT_WEIGHT` — приоритет в каталоге.
- `CHEAPEST` — дешевые.
- `EXPENSIVE` — дорогие.
- `MANUAL` — ручная сортировка.

**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `OLDEST`, `NEWEST`, `SORT_WEIGHT`, `CHEAPEST`, `EXPENSIVE`, `MANUAL`

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

Коллекция успешно обновлена.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "id": "019b21d9-c5d9-777d-80bd-d67c664bc6d9",
  "title": "Коллекция 1",
  "description": "Коллекция 1",
  "seo_title": "Коллекция 1",
  "seo_h1": "example",
  "seo_description": "Коллекция 1",
  "is_available_in_ad_feed": true,
  "slug": "kollektsiya-1",
  "status": "ACTIVE",
  "collection_type": "STATIC",
  "dynamic_filter": {
    "category_slugs": [
      "vsye-dlya-sna"
    ],
    "main_filter": [
      {
        "field": "price",
        "operator": "EQ",
        "value": "example"
      }
    ],
    "characteristic_filters": [
      null
    ]
  },
  "created_at": "2020-01-01T00:00:00Z",
  "updated_at": "2020-01-01T00:00:00Z",
  "cards_count": 10,
  "hidden_cards_count": 10,
  "image_path": "https://example.com/kollektsiya-1.jpg",
  "collection_sort": "OLDEST"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_cards_count_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Общее количество карточек в коллекции.
{.table-cell}
||
||

_collection_sort_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [CollectionSort](#entity-CollectionSort)

Сортировка карточек в коллекции:
- `OLDEST` — старые.
- `NEWEST` — новые.
- `SORT_WEIGHT` — приоритет в каталоге.
- `CHEAPEST` — дешевые.
- `EXPENSIVE` — дорогие.
- `MANUAL` — ручная сортировка.

_Enum:_{.json-schema-reset .json-schema-value} `OLDEST`, `NEWEST`, `SORT_WEIGHT`, `CHEAPEST`, `EXPENSIVE`, `MANUAL`
{.table-cell}
||
||

_collection_type_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [CollectionType](#entity-CollectionType)

Тип коллекции:
- `STATIC` — статическая коллекция. Контент заполняется вручную.
- `DYNAMIC` — динамическая коллекция. Контент заполняется автоматически на основе фильтров.

_Enum:_{.json-schema-reset .json-schema-value} `STATIC`, `DYNAMIC`
{.table-cell}
||
||

_created_at_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата создания коллекции.

_Example:_{.json-schema-reset .json-schema-example} `2020-01-01T00:00:00Z`
{.table-cell}
||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Описание коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
||

_hidden_cards_count_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Количество скрытых карточек в коллекции.
{.table-cell}
||
||

_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [CollectionID](#entity-CollectionID)

Идентификатор коллекции.

_Example:_{.json-schema-reset .json-schema-example} `019b21d9-c5d9-777d-80bd-d67c664bc6d9`
{.table-cell}
||
||

_is_available_in_ad_feed_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: boolean

Доступна ли коллекция в рекламном фиде.
{.table-cell}
||
||

_seo_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

SEO описание коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
||

_seo_h1_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

SEO H1 коллекции.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_seo_title_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

SEO заголовок коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
||

_slug_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

URL идентификатор коллекции.

_Example:_{.json-schema-reset .json-schema-example} `kollektsiya-1`
{.table-cell}
||
||

_status_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [CollectionStatus](#entity-CollectionStatus)

Статус коллекции:
- `ACTIVE` — активна, отображается в каталоге.
- `INACTIVE` — неактивна, не отображается в каталоге.

_Enum:_{.json-schema-reset .json-schema-value} `ACTIVE`, `INACTIVE`
{.table-cell}
||
||

_title_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Название коллекции.

_Example:_{.json-schema-reset .json-schema-example} `Коллекция 1`
{.table-cell}
||
||

_updated_at_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата обновления коллекции.

_Example:_{.json-schema-reset .json-schema-example} `2020-01-01T00:00:00Z`
{.table-cell}
||
||

_dynamic_filter_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [DynamicCollectionFilter](#entity-DynamicCollectionFilter)

Конфигурация фильтра для динамических коллекций. Задает критерии автоматического
наполнения коллекции товарами, удовлетворяющими указанным условиям.

**Использование:**
- Обязателен для динамических коллекций.
- Запрещен для статических коллекций.
- Несколько фильтров объединяются по логике AND.
- URL идендификаторы категорий ограничивают выборку товарами из заданных категорий.
- В `main_filter` допустим только перечень полей `field`, указанный в описании этого поля.
- В `characteristic_filters` поле `field` — URL идентификатор характеристики (правила значений и операторов см. в описании `characteristic_filters`).


{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "category_slugs": [
    "vsye-dlya-sna"
  ],
  "main_filter": [
    {
      "field": "price",
      "operator": "EQ",
      "value": "example"
    }
  ],
  "characteristic_filters": [
    null
  ]
}
```

{% endcut %}
{.table-cell}
||
||

_image_path_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Путь к изображению коллекции.

_Example:_{.json-schema-reset .json-schema-example} `https://example.com/kollektsiya-1.jpg`
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### CollectionID {#entity-CollectionID}

Идентификатор коллекции.

**Type**: string&lt;uuid&gt;

_Example:_{.json-schema-reset .json-schema-example} `019b21d9-c5d9-777d-80bd-d67c664bc6d9`

</div>

<div class="openapi-entity">

### CollectionType {#entity-CollectionType}

Тип коллекции:
- `STATIC` — статическая коллекция. Контент заполняется вручную.
- `DYNAMIC` — динамическая коллекция. Контент заполняется автоматически на основе фильтров.

**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `STATIC`, `DYNAMIC`

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Некорректный запрос.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "VALIDATION_ERROR",
  "message": "Invalid input",
  "trace_id": "00000000000000000000000000000000"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `VALIDATION_ERROR`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `Invalid input`
{.table-cell}
||
||

_trace_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Уникальный идентификатор запроса для отладки.

_Example:_{.json-schema-reset .json-schema-example} `00000000000000000000000000000000`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__401">

## 401 Unauthorized

Не авторизован.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "VALIDATION_ERROR",
  "message": "Invalid input",
  "trace_id": "00000000000000000000000000000000"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `VALIDATION_ERROR`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `Invalid input`
{.table-cell}
||
||

_trace_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Уникальный идентификатор запроса для отладки.

_Example:_{.json-schema-reset .json-schema-example} `00000000000000000000000000000000`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__404">

## 404 Not Found

Ресурс не найден.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "VALIDATION_ERROR",
  "message": "Invalid input",
  "trace_id": "00000000000000000000000000000000"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `VALIDATION_ERROR`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `Invalid input`
{.table-cell}
||
||

_trace_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Уникальный идентификатор запроса для отладки.

_Example:_{.json-schema-reset .json-schema-example} `00000000000000000000000000000000`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__500">

## 500 Internal Server Error

Внутренняя ошибка сервера.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "VALIDATION_ERROR",
  "message": "Invalid input",
  "trace_id": "00000000000000000000000000000000"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `VALIDATION_ERROR`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `Invalid input`
{.table-cell}
||
||

_trace_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Уникальный идентификатор запроса для отладки.

_Example:_{.json-schema-reset .json-schema-example} `00000000000000000000000000000000`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

</div>

[*Deprecated]: No longer supported, please use an alternative and newer version.