General view 

{
    "code":"ERR_PARSE_REQUEST",
    "msg":"The phone already exists",
    "requestId":"063c61404a3dc883490b29e2706f89e0"
}
CODE

Description of parameters 

code
msg
codestringError code
msgstringShort description of the error
requestId

guid

Request ID

Orders API

Order

CodeMessage
order_not_foundOrder is not found
order_source_not_foundOrder source is not found or not enabled
restaurant_not_foundThe establishment was not found or is not enabled for delivery
order_source_not_found_for_restaurantThe order source was not added to the specified establishment.
delivery_manager_not_found_for_restaurantThe Delivery Manager does not have access to the specified location
corporation_not_foundCorporation is not found

Search for order

CodeMassage
language_not_setInterface language not found or not set
corporation_not_setSpecify the corporation in the user settings

Cancel order

CodeMessage

err_unprocessable_entity

The order is completed
rejection_reason_not_foundReason for cancellation not found

err_parse_request

Please specify the reason for order cancellation

Create/edit an order (validation)

CodeMessage


















order_validation

Specify the value
The specified delivery time is shorter than possible.
Select dishes from the menu
Select the time to receive your order
Incorrect establishment specified
The dish was not found in the menu
The number of dishes should be greater than 0
Please provide your phone number
Specify the street
Specify the city
Please indicate the house number
Please provide the address for receiving your order
The specified address was not found.
`{p.menu_item_id}` `{p.name}` Dish not found
The price listed for the dish `{p.menu_item_id}` `{p.name}`  is incorrect

There is no ingredient `{i.menu_item_id}` `{i.name}` in the menu

The price listed for the ingredient `{i.menu_item_id}` `{i.name}` is incorrect

Dish `{p.menu_item_id}` `{p.name}` should not have ingredients
Set the ingredients for the dish `{p.menu_item_id}`

Number of ingredients for  `{p.menu_item_id}` should not exceed `{reqIng.MaxCount}`

Invalid ingredient specified `{inpIng.Name}` for dish `{p.menu_item_id}`
Check the menu download. The dish `{p.menu_item_id}` does not have ingredients, but they are expected according to the scheme.
The dish `{p.menu_item_id}` `{p.name}` is in out-of-stock list
The ingredient `{i.menu_item_id}` `{i.name}` is in out-of-stock list

Assigning a Courier to an Order

CodeMessage

order_not_found

Order not found or no rights to assign a courier

err_parse_request

Delivery method: pick up. No courier required.

err_parse_request

Unable to assign a Courier. The order is in the status `{statusName}`

err_parse_request

Order completed

courier_not_fount

Courier not found or not enabled

courier_not_found_for_restaurant

The courier has not been added to the specified establishment.

Changing the order's status

CodeMessage

status_change_forbidden

The order has already been completed

status_not_active


The status is off. Choose another one
status_incorrectThe order's status cannot be changed to the specified one. Delivery will take more than 24 hours.
status_incorrectThe order's status cannot be changed to the specified one. Assign a courier
status_incorrect

The order's status cannot be changed to the specified one. There might be `{flowStage.Name}`

licence_not_found

No license for the extension

Menu

Editing a dish/getting a dish card 

CodeMessage

dish_not_found

The dish `{dishId}` not found

Stages of order movement

Changing the order fulfillment scheme

CodeMessage

status_not_found

`{id}` status not found

flow_incorrect

Status Sequence Error

status_validation

Add mandatory status `{requiredStatus.Id}`

Guestbook

Search by phone number

CodeMessage

guest_not_found

Guest not found