Разблокировка магазинов
Метод позволяет Партнёру отправлять Яндекс Еде запрос на разблокировку магазина.
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 блокировок. Min items: Example
|
|
vendorInfo |
Type: VendorInfo Example
|
VendorInfoItems
|
Name |
Description |
|
vendorId |
Type: string Id магазина в системе Партнёра. Example: |
|
deliveryType |
Type: string Тип доставки. Enum: |
Example
{
"vendorId": "819711",
"deliveryType": "ddc"
}
Responses
200 OK
OK
Body
application/json
{}
|
Name |
Description |
400 Bad Request
Ошибка в запросе.
Body
application/json
{
"message": "example",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code |
Type: integer Код ошибки. |
|
message |
Type: string Сообщение об ошибке. Example: |
|
details |
Type: objectExample
|
404 Not Found
Магазин не найден.
Body
application/json
{
"message": "example",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code |
Type: integer Код ошибки. |
|
message |
Type: string Сообщение об ошибке. Example: |
|
details |
Type: objectExample
|
500 Internal Server Error
Ошибка сервиса.
Body
application/json
{
"message": "example",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code |
Type: integer Код ошибки. |
|
message |
Type: string Сообщение об ошибке. Example: |
|
details |
Type: objectExample
|
No longer supported, please use an alternative and newer version.