---
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/en/llms.txt

<div class="openapi">

# Retrieve list of restaurants with active high-demand status

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

High demand can be set through the Yandex Vendor app if
the restaurant is loaded at the moment and the order preparation time has increased.

In the future, it will be possible to install and remove high demand through the 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)

Restaurant search query filters

{% 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)

Pagination to obtain the status of high demand in restaurants. More about pagination and cursors at 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}

Delivery type

**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}

Restaurant search query filters

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

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

Delivery type

_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)[]

List of restaurant IDs in the partner's system

_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}

Cursor for getting restaurants with an active high demand status

**Type**: string

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

</div>

<div class="openapi-entity">

### Limit {#entity-Limit}

Limit on the number of restaurants to be returned

**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}

Pagination to obtain the status of high demand in restaurants. More about pagination and cursors at https://slack.engineering/evolving-api-pagination-at-slack/

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

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

Cursor for getting restaurants with an active high demand status

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

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

Limit on the number of restaurants to be returned

_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)[]

List of restaurants with information about high demand

{% 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)

Cursor for getting restaurants with an active high demand status

_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)

Delivery type

_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

Additional cooking time in minutes
{.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)[]

The list of services in which the restaurant is represented

{% 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;

Date and time in RFC 3339 format with indication of the time zone the belt to which the cooking allowance applies

_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

Request 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

Error code

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

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

Error message

_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

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

Error code

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

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

Error message

_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.