Menu parsing initiation
Forced start of the Menu/Stop-list update process
Request
POST
/menu/import/initiation
Headers
|
Name |
Description |
|
Authorization |
Type: string A token generated on the side of the Yandex |
|
Partner-Name |
Type: string Partner name |
Body
application/json
{
"restaurantId": "string",
"operationType": "menu"
}
|
Name |
Description |
|
restaurantId* |
Type: string The ID of the restaurant in the partner's system Max length: |
|
operationType |
Type: OperationType menu - Menu parsing, menu_stop_list - stop list parsing Default: Enum: |
OperationType
menu - Menu parsing, menu_stop_list - stop list parsing
|
Type |
Description |
|
Default: Enum: |
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.