Order/s added
On Error, meta object will contain an error array with these possible values
| Code | Description | Field |
|---|
| 1001 | Wrong time window object | timeWindow |
| 2002 | Wrong time window values, must be string | timeWindow |
| 2003 | Wrong time window, 'from' must be less than 'to' | timeWindow |
| 2004 | Wrong time window, times are overlapped | timeWindow |
| 2020 | Order code already present for this user | code |
| 2021 | Order code not found or not allowed for this user | code |
| 2026 | Invalid operation type | operation |
| 2032 | Poi id not found or not allowed for this user | poiId |
| 2037 | totalAmount must be greater than zero and not empty | totalAmount |
| 2038 | orderItems and orderMeasures are not allowed for collection orders | orderItems, orderMeasures |
| 2039 | orderStatus not found or not allowed for this user | statusId |
| 2051 | Merchant id not found or not allowed for this user | merchants |
| 2052 | Exceeded limit of 3 emails per order | merchants |
| 2054 | subStatus not found or not allowed for this user | subSstatusId |