Unblocking restaurants
Request
POST
/unblock
Headers
|
Name |
Description |
|
Authorization |
Type: string A token generated on the side of the Yandex |
|
Partner-Name |
Type: string Partner name |
Body
application/json
{
"vendorInfo": [
{
"vendorId": "819711",
"deliveryType": "ddc"
}
],
"blockIds": [
"string"
]
}
|
Name |
Description |
|
blockIds* |
Type: string[] List of block IDs |
|
vendorInfo* |
Type: Vendor[] |
Vendor
|
Name |
Description |
|
deliveryType |
Type: string Delivery type Example: Enum: |
|
vendorId |
Type: string Restaurant ID in the partner's system Example: |
Responses
200 OK
OK
Body
application/json
{}
400 Bad Request
Request error
Body
application/json
{
"message": "string",
"code": 0
}
|
Name |
Description |
|
code* |
Type: integer Error code |
|
message* |
Type: string Erroe message |
404 Not Found
The place was not found
Body
application/json
{
"message": "string",
"code": 0
}
|
Name |
Description |
|
code* |
Type: integer Error code |
|
message* |
Type: string Erroe message |
500 Internal Server Error
Internal server error
Body
application/json
{
"message": "string",
"code": 0
}
|
Name |
Description |
|
code* |
Type: integer Error code |
|
message* |
Type: string Erroe message |
No longer supported, please use an alternative and newer version.
Was the article helpful?
Previous