Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

General View 

Code Block
languageyml
{
    "code":"ERR_PARSE_REQUEST",
    "msg":"This phone number already exists",
    "requestIdrequestID":"063c61404a3dc883490b29e2706f89e0"
}

Parameters description 

code
msg
codestringThe error code
msgstringShort description of the error
requestId
requestID
guid

GUID

The request ID

Orders API

Order

CodeMessage
order_not_foundThe order is not found
order_source_not_foundThe order source is not found or is turned off
restaurant_not_foundThe restaurant is not found or is turned off for delivery
order_source_not_found_for_restaurantThe order source is not found or is turned off for the restaurant
delivery_manager_not_found_for_restaurantThis restaurant is not available for Delivery Manager
corporation_not_foundThe corporation is not found

Order search

CodeMessage
language_not_setThe interface language is not found or set
corporation_not_setSpecify the corporation in the user settings

Order

...

rejection

CodeMessage

err_unprocessable_entity

The order is executed
rejection_reason_not_foundThe rejection reason is not found

err_parse_request

Specify the reason for order rejection

Order creating or editing (validation)

CodeMessage


















order_

validation

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
ID}` `{p.name}` is not found
The price for the dish `{p.menu_item_
id
ID}` `{p.name}` is incorrectly specified
There is no ingredient `{i.menu_item_
id
ID}` `{i.name}` in the menu

The price of the ingredient `{i.menu_item_

id

ID}` `{i.name}` is incorrectly specified

The dish `{p.menu_item_
id
ID}` `{p.name}` should not contain the specified ingredients
Specified the ingredients for the dish `{p.menu_item_
id
ID}`

The number of ingredients for `{p.menu_item_

id

ID}` should not be greater than `{reqIng.MaxCount}`

The incorrect ingredient `{inpIng.Name}` is  specified for the dish `{p.menu_item_
id
ID}`
Check the menu export. The dish `{p.menu_item_
id
ID}` lacks ingredients, which it should have according to the scheme.
The dish `{p.menu_item_
id
ID}` `{p.name}` is in the stop-list
The ingredient `{i.menu_item_
id
ID}` `{i.name}` is in the stop-list

...

Assigning a courier for an order

CodeMessage

order_not_found

Заказ не найден или нет прав на назначение курьера
The order is not found or you do not have enough rights to assign a courier 

err_parse_request

Способ доставки самовывоз. Курьер не требуется
Take-out order. No courier is needed.

err_parse_request

Невозможно назначить Курьера. Заказ находится в cтатусе
It is impossible to assign a courier. The order status is `{statusName}`

err_parse_request

The order is executed

courier_not_fount

Курьер не найден или не включен
The courier is not found or is turned off

courier_not_found_for_restaurant

Курьер не добавлен к заданному заведению

...

The courier is not found or is turned off for the restaurant

Changing an order status

CodeMessage

status_change_

forbiddenЗаказ уже завершен

forbIDden

The order is already executed

status_not_active

Статус выключен. Выберите другой


The status is not active. Select another one.
status_incorrect
Заказ не может быть переведен в указанный. Получение через более чем 24 часа
The specified status cannot be assigned to the order. The order is to be received in more than 24 hours
status_incorrect
Заказ не может быть переведен в указанный. Назначьте курьера
The specified status cannot be assigned to the order. Assign a courier
status_incorrect
Заказ не может быть переведен в указанный. Возможен `
The specified status cannot be assigned to the order. The status `{flowStage.Name}` is possible.

licence_not_found

Нет лицензии на расширение

Меню

...

No license is found

Menu

Dish editing/getting a dish card

CodeMessage

dish_not_found

The dish `{
dishId
dishID}` is not found

Этапы движения заказа

...

Steps of order processing

Changing the sequence of order processing

CodeMessage

status_not_found

The status `{
id
ID}` is not found

flow_incorrect

Ошибка последовательности статусов
The status flow is incorrect

status_

validationДобавьте обязательный статус `

valIDation

Add an obligatory status `{requiredStatus.
Id
ID}`

Справочник гостей

...

Guests reference book

Search by a phone number

CodeMessage

guest_not_found

The guest is not found