---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com/dev/eda-vendor/doc/en/ref/Vendor-Management-Integration-API/partner.external.busy.mode.status.post.md
  - https://yandex.com/dev/eda-vendor/doc/ru/ref/Vendor-Management-Integration-API/partner.external.busy.mode.status.post.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/eda-vendor/doc/ru/llms.txt

<div class="openapi">

# Получение списка ресторанов с активным статусом высокого спроса

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

Высокий спрос можно установить через приложение Яндекс Еда Вендор, если
ресторан нагружен в данный момент и время приготовления заказов увеличилось.

В будущем будет возможно устанавливать и снимать высокий спрос через API


## Request

<div class="openapi__requests">

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

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
/partner-integration/v1/place-info/v1/busy-mode-status
```

</div>

</div>

</div>

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "filters": {
    "origin_ids": [
      "restaurant1"
    ],
    "delivery_type": "marketplace",
    "service": "YE"
  },
  "pagination": {
    "cursor": "example",
    "limit": 500
  }
}
```

{% endcut %}

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

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

Фильтры запроса на поиск ресторанов

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

```json translate=no
{
  "origin_ids": [
    "restaurant1"
  ],
  "delivery_type": "marketplace",
  "service": "YE"
}
```

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

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

Пагинация для получения статуса высокого спроса в ресторанах. Подробнее про пагинацию и курсоры можно почитать на https://slack.engineering/evolving-api-pagination-at-slack/

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

```json translate=no
{
  "cursor": "example",
  "limit": 500
}
```

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

</div>

<div class="openapi-entity">

### OriginId {#entity-OriginId}

**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `restaurant1`

</div>

<div class="openapi-entity">

### DeliveryType {#entity-DeliveryType}

Тип доставки

**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `native`, `marketplace`

</div>

<div class="openapi-entity">

### Service {#entity-Service}

**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `YE`, `MD`

</div>

<div class="openapi-entity">

### BusyModeStatusFilters {#entity-BusyModeStatusFilters}

Фильтры запроса на поиск ресторанов

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

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

Тип доставки

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

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

Список идентификаторов ресторанов в системе партнера

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

_Max items:_{.json-schema-reset .json-schema-assertion} `100`

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

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

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

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

_Enum:_{.json-schema-reset .json-schema-value} `YE`, `MD`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "origin_ids": [
    "restaurant1"
  ],
  "delivery_type": "marketplace",
  "service": "YE"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### Cursor {#entity-Cursor}

Курсор для получения ресторанов с активным статусом высокого спроса

**Type**: string

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

</div>

<div class="openapi-entity">

### Limit {#entity-Limit}

Лимит количества возвращаемых ресторанов

**Type**: integer

_Default:_{.json-schema-reset .json-schema-value} `500`

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

_Max value:_{.json-schema-reset .json-schema-assertion} `500`

</div>

<div class="openapi-entity">

### BusyModePagination {#entity-BusyModePagination}

Пагинация для получения статуса высокого спроса в ресторанах. Подробнее про пагинацию и курсоры можно почитать на https://slack.engineering/evolving-api-pagination-at-slack/

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

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

Курсор для получения ресторанов с активным статусом высокого спроса

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

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

Лимит количества возвращаемых ресторанов

_Default:_{.json-schema-reset .json-schema-value} `500`

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

_Max value:_{.json-schema-reset .json-schema-assertion} `500`

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

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

```json translate=no
{
  "cursor": "example",
  "limit": 500
}
```

{% endcut %}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "busy_places": [
    {
      "origin_id": "restaurant1",
      "delivery_type": "marketplace",
      "services": [
        "YE"
      ],
      "extra_minutes": 0,
      "valid_till": "2024-01-01T12:00:05.125+03:00"
    }
  ],
  "cursor": "example"
}
```

{% endcut %}

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

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

Список ресторанов с информацией о высоком спросе

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

```json translate=no
[
  {
    "origin_id": "restaurant1",
    "delivery_type": "marketplace",
    "services": [
      "YE"
    ],
    "extra_minutes": 0,
    "valid_till": "2024-01-01T12:00:05.125+03:00"
  }
]
```

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

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

Курсор для получения ресторанов с активным статусом высокого спроса

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

</div>

<div class="openapi-entity">

### BusyPlace {#entity-BusyPlace}

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

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

Тип доставки

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

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

Добавочное время к готовке в минутах
{.table-cell}
||
||

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

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

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

Список сервисов, в которых представлен ресторан

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

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

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

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

Дата и время в формате RFC3339 с указанием часового пояса, до которого действует надбавка к готовке

_Example:_{.json-schema-reset .json-schema-example} `2024-01-01T12:00:05.125+03:00`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "origin_id": "restaurant1",
  "delivery_type": "marketplace",
  "services": [
    "YE"
  ],
  "extra_minutes": 0,
  "valid_till": "2024-01-01T12:00:05.125+03:00"
}
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Ошибка запроса

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "message": "example",
  "code": "example"
}
```

{% endcut %}

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

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

Код ошибки

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

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

Сообщение об ошибке

_Example:_{.json-schema-reset .json-schema-example} `example`
{.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
{
  "message": "example",
  "code": "example"
}
```

{% endcut %}

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

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

Код ошибки

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

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

Сообщение об ошибке

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

</div>

</div>

</div>

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