Разблокировка ресторанов
Request
POST
/unblock
Headers
|
Name |
Description |
|
Authorization |
Type: string Токен сформированный на стороне ЯЕды Example: `` |
|
Partner-Name |
Type: string Имя партнера Example: `` |
Body
application/json
{
"vendorInfo": [
{
"vendorId": "819711",
"deliveryType": "ddc"
}
],
"blockIds": [
"example"
]
}
|
Name |
Description |
|
blockIds |
Type: string[] Список id блокировок Example
|
|
vendorInfo |
Type: VendorInfo Example
|
Vendor
|
Name |
Description |
|
deliveryType |
Type: string Тип доставки Enum: |
|
vendorId |
Type: string Id ресторана в системе партнера Example: |
Example
{
"vendorId": "819711",
"deliveryType": "ddc"
}
Responses
200 OK
OK
Body
application/json
{}
|
Name |
Description |
400 Bad Request
Ошибка запроса
Body
application/json
{
"message": "example",
"code": 0
}
|
Name |
Description |
|
code |
Type: integer Код ошибки |
|
message |
Type: string Сообщение об ошибке Example: |
404 Not Found
Плейс не найден
Body
application/json
{
"message": "example",
"code": 0
}
|
Name |
Description |
|
code |
Type: integer Код ошибки |
|
message |
Type: string Сообщение об ошибке Example: |
500 Internal Server Error
Ошибка сервиса
Body
application/json
{
"message": "example",
"code": 0
}
|
Name |
Description |
|
code |
Type: integer Код ошибки |
|
message |
Type: string Сообщение об ошибке Example: |
No longer supported, please use an alternative and newer version.