General View
{ "code":"ERR_PARSE_REQUEST", "msg":"This phone number already exists", "requestId":"063c61404a3dc883490b29e2706f89e0" }
Parameters description
code | msg | |
---|---|---|
code | string | The error code |
msg | string | Short description of the error |
requestId | guid | The request ID |
Orders API
Order
Code | Message |
---|---|
order_not_found | The order is not found |
order_source_not_found | The order source is not found or is turned off |
restaurant_not_found | The restaurant is not found or is turned off for delivery |
order_source_not_found_for_restaurant | The order source is not found or is turned off for the restaurant |
delivery_manager_not_found_for_restaurant | This restaurant is not available for Delivery Manager |
corporation_not_found | The corporation is not found |
Order search
Code | Message |
---|---|
language_not_set | The interface language is not found or set |
corporation_not_set | Specify the corporation in the user settings |
Order cancellation
Code | Message |
---|---|
err_unprocessable_entity | The order is executed |
rejection_reason_not_found | The rejection reason is not found |
err_parse_request | Specify the reason for order rejection |
Order creating or editing (validation)
Code | Message |
---|---|
order_validation | Specify the value |
The specified order registration time is less than the possible value | |
Select the dish from the menu | |
Specify the delivery time | |
The restaurant is incorrectly specified | |
The dish is not found in the menu | |
The number of dishes should be greater than 0 | |
Specify the phone number | |
Specify the street | |
Specify the city | |
Specify the house number | |
Specify the order delivery address | |
The specified address is not found | |
The dish `{p.menu_item_id}` `{p.name}` is not found | |
The price for the dish `{p.menu_item_id}` `{p.name}` is incorrectly specified | |
There is no ingredient `{i.menu_item_id}` `{i.name}` in the menu | |
The price of the ingredient `{i.menu_item_id}` `{i.name}` is incorrectly specified | |
The dish `{p.menu_item_id}` `{p.name}` should not contain the specified ingredients | |
Specified the ingredients for the dish `{p.menu_item_id}` | |
The number of ingredients for `{p.menu_item_id}` should not be greater than `{reqIng.MaxCount}` | |
The incorrect ingredient `{inpIng.Name}` is specified for the dish `{p.menu_item_id}` | |
Check the menu export. The dish `{p.menu_item_id}` lacks ingredients, which it should have according to the scheme. | |
The dish `{p.menu_item_id}` `{p.name}` is in the stop-list | |
The ingredient `{i.menu_item_id}` `{i.name}` is in the stop-list |
Назначение Курьера на Заказ
Code | Message |
---|---|
order_not_found | Заказ не найден или нет прав на назначение курьера |
err_parse_request | Способ доставки самовывоз. Курьер не требуется. |
err_parse_request | Невозможно назначить Курьера. Заказ находится в cтатусе `{statusName}` |
err_parse_request | The order is executed |
courier_not_fount | Курьер не найден или не включен |
courier_not_found_for_restaurant | Курьер не добавлен к заданному заведению |
Перевод заказа в статус
Code | Message |
---|---|
status_change_forbidden | Заказ уже завершен |
status_not_active | Статус выключен. Выберите другой |
status_incorrect | Заказ не может быть переведен в указанный. Получение через более чем 24 часа |
status_incorrect | Заказ не может быть переведен в указанный. Назначьте курьера |
status_incorrect | Заказ не может быть переведен в указанный. Возможен `{flowStage.Name}` |
licence_not_found | Нет лицензии на расширение |
Меню
Редактирование блюда/получение карточки блюда
Code | Message |
---|---|
dish_not_found | The dish `{dishId}` is not found |
Этапы движения заказа
Изменение схемы выполнения заказа
Code | Message |
---|---|
status_not_found | The status `{id}` is not found |
flow_incorrect | Ошибка последовательности статусов |
status_validation | Добавьте обязательный статус `{requiredStatus.Id}` |
Справочник гостей
Поиск по номеру телефона
Code | Message |
---|---|
guest_not_found | The guest is not found |