| Error Code | Error Message |
|---|---|
| ERROR_APIKEY | Bad api key |
| ERROR_METHOD | Method .. not support |
| ERROR_JSON | Invalid JSON payload |
| ERROR_FUNCTION | Function .. not support |
| ERROR_CITY | City id .. not exists |
| ERROR_DELIVERY_DATE | Delivery date cannot be in the past |
| ERROR_DELIVERY_DATE_EMPTY | Delivery date cannot be empty |
| ERROR_EMPTY_PRODUCTS | Products in order cannot be empty |
| ERROR_VALIDATE_PRODUCTS | Check manual for correct products structure |
| ERROR_EXISTS_PRODUCTS | Product with id .. not exists |
| ERROR_SAVE | Save error. Check manual for correct structure |
| ERROR_EMPTY_NUMBER | Order number cannot be empty |
| ERROR_EXISTS_NUMBER | Order number .. already exists |
| ERROR_EMPTY_CUSTOMER_NAME | Customer name cannot be empty |
| ERROR_EMPTY_CUSTOMER_PHONE | Customer phone cannot be empty |
| ERROR_CITY_DISTRICT | The district must be specified for the current city |
| ERROR_EMPTY_CURRENCY | Order currency cannot be empty |
| ERROR_EMPTY_ADDRESS | Order address cannot be empty |
| ERROR_EMPTY_SUMM | Order summ cannot be empty |
| ERROR_VALID_DATE | Date format is invalid |
| ERROR_VALID_STATUS | Status is invalid |
| ERROR_EMPTY_COUNTRY | Country cannot be empty |
| ERROR_NOT_EXISTS_NUMBER | Order number .. is not exists |
| ERROR_DELIVERED_ORDER | Order is delivered. Changes not save |
| ERROR_CANCELED_ORDER | Order is cancelled. Changes not save |