Simple upsell implementation. Uses 'category' extra tag in menu-api service to link categories that should co-exist in order. Configuration is in tenant as 'upselCfg' and consist of list of pairs: 'category1=category2|cat3=cat4|fallback'. Which means that if product from 'category1' is present in order, there should also be product from 'category2'. If it is missing upsell suggests 3 products from 'category2'. 'fallback' is a category to suggest in case no other matches were found. If 'upsellLastLine' is set to true in tenant config additionally it is looking for 'upsell' extra params in recently added line and produces popup upsell from it.
object (Order) | |
| appliedCommands | Array of strings |
{- "order": {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}, - "appliedCommands": [
- "string"
]
}Simple loyalty implementation with '3-parts sets 10% off' and 'every third item - half price'. It uses product extra tags 'PART' which should take one of values: 'main', 'side', 'drink'. This endpoint counts every value and tries to combine them in sets (one 'main', one 'size', one 'drink'). There is also 'BULK3' tag which works as a 'third product of this kind (id) for half price'.
object (Order) | |
| appliedCommands | Array of strings |
{- "order": {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}, - "appliedCommands": [
- "string"
]
}Simple loyalty wallet update callback. It computes order total for non-technical items, multiplicates with 'mul' parametr (0.1 by default) and adds points calculated this way to users wallet. Points are rounded to whole numbers (round=true) and expire in one year (expire=365).
| mul | number Default: 0.1 |
| round | boolean Default: true |
| expire | integer <int32> Default: 365 |
| notify | string |
| commandClass | string |
object (AbstractOrderEventCommand) | |
required | object (Order) |
object |
{- "commandClass": "string",
- "command": {
- "class": "string"
}, - "order": {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}, - "extra": {
- "property1": "string",
- "property2": "string"
}
}Simple loyalty wallet update callback (wallet2-api). It computes order total for non-technical items, multiplicates with 'mul' parametr (0.1 by default) and adds points calculated this way to users wallet. Points are rounded to whole numbers (round=true) and expire in one year (expire=365).
| mul | number Default: 0.1 |
| round | boolean Default: true |
| expire | integer <int32> Default: 365 |
| notify | string |
| commandClass | string |
object (AbstractOrderEventCommand) | |
required | object (Order) |
object |
{- "commandClass": "string",
- "command": {
- "class": "string"
}, - "order": {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}, - "extra": {
- "property1": "string",
- "property2": "string"
}
}Alter discounts on named layer for order.
ROLE_SUROLE_MANAGERROLE_DISCOUNT) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
object | |
object | |
| layer required | string [ 3 .. 32 ] characters [a-zA-Z0-9_.-]+ Default: "DISCOUNT" Discounts layer. Subsequent requests with same layer will remove previous discounts and apply new one for that same layer. |
{- "discounts": {
- "property1": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "property2": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
]
}, - "prices": {
- "property1": [
- {
- "description": "string",
- "product": "string",
- "path": "string",
- "price": 0
}
], - "property2": [
- {
- "description": "string",
- "product": "string",
- "path": "string",
- "price": 0
}
]
}, - "layer": "DISCOUNT"
}Post steering message.
ROLE_SUROLE_MANAGERROLE_STEERINGROLE_{venue}_MANAGERROLE_{venue}_STEERINGROLE_STEERING_{command}ROLE_{venue}_STEERING_{command}) | x-tenant | string <uuid> |
| command required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ |
| venue | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ |
object |
{- "command": "string",
- "venue": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}
}Sign line discounts.
ROLE_SUROLE_MANAGERROLE_SIGN) required | object (SignLineDiscountRequest) |
| tenantId required | string <uuid> |
Mark order as verified.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_VERIFYROLE_{venue}_MANAGERROLE_{venue}_ORDERSROLE_{venue}_VERIFY) | uid required | string <uuid> Order id |
Verify order by ID if it can be paid.
| uid required | string <uuid> Order id |
| returnOrder | boolean Default: false |
| x-tenant | string <uuid> |
| type required | string Enum: "CASH" "CARD" "COD" "TERMINAL" "EPAYMENT" "COUPON" "WALLET" "PREAUTHORIZED" "RETURN" "EXTERNAL" |
| source required | string[\p{L}\p{N}_.-]+ |
| amount required | number |
{- "type": "CASH",
- "source": "string",
- "amount": 0
}{- "result": true,
- "order": {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}, - "codes": [
- {
- "code": "string",
- "message": "string",
- "args": [
- "string"
]
}
]
}Request fiscal data for order. Data is returnet through websocket.
ROLE_SUROLE_MANAGERROLE_FISCALIZE) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
Remove deferred payment from order.
ROLE_SUROLE_MANAGERROLE_PAY) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| paymentId required | string <uuid> |
{- "paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7"
}Manually set queue pos for order. Tenant configuration must allow it.
ROLE_SUROLE_QUEUE) | uid required | string <uuid> |
| venue required | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ |
| queuePos required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ |
{- "venue": "string",
- "queuePos": "string"
}Change lines quantity.
| uid required | string <uuid> Order id |
required | Array of objects (LineQuantity) |
{- "lines": [
- {
- "line": "cbd064df-a272-4ffb-a570-4b4e90fd2e3b",
- "quantity": 1
}
]
}Add payment information to order.
ROLE_SUROLE_PAYROLE_PAY_{paymentType}) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| type required | string Enum: "CASH" "CARD" "COD" "TERMINAL" "EPAYMENT" "COUPON" "WALLET" "PREAUTHORIZED" "RETURN" "EXTERNAL" |
| source required | string[\p{L}\p{N}_.-]+ |
| amount required | number >= 0 |
| deferred | boolean Default: false Payment is deferred, does not trigger next steps |
object |
{- "type": "CASH",
- "source": "string",
- "amount": 0,
- "deferred": false,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}Update payment information in order.
ROLE_SUROLE_MANAGER) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| paymentId required | string <uuid> |
| amount | number >= 0 Can be NULL then it is not altered in payment record. |
object Additional (extra) data. |
{- "paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7",
- "amount": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}Split order lines. Makes copies of existing order line with smaller quantities. Sum of quantities must match.
| uid required | string <uuid> Order id |
required | Array of objects (LineSplit) [ 1 .. 2147483647 ] items |
{- "lines": [
- {
- "line": "cbd064df-a272-4ffb-a570-4b4e90fd2e3b",
- "split": [
- {
- "lineId": "e698cdee-c4ef-4d12-b0ea-7c98b2fc64a8",
- "quantity": 1
}
]
}
]
}Remove order line. Whether line can be removed depends on its state.
| uid required | string <uuid> Order id |
[- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]Change extra params in order.
| uid required | string <uuid> Order id |
required | Array of objects (LinesExtra) Incremental change of extra params in lines |
{- "lines": [
- {
- "line": "cbd064df-a272-4ffb-a570-4b4e90fd2e3b",
- "store": {
- "X-PARAM": "value"
}, - "remove": "{\"X-PARAM\"}"
}
]
}Track order visibility on KDS.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_KDSROLE_COOKROLE_WAITERROLE_{venue}_MANAGERROLE_{venue}_ORDERSROLE_{venue}_KDSROLE_{venue}_COOKROLE_{venue}_WAITER) | uid required | string <uuid> Order id |
| config | string KDS config |
Invite another user to this order. This is used to attach additional user to order.
| uid required | string <uuid> Order id |
| id required | string <uuid> User id. |
| name | string [ 0 .. 128 ] characters |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}Add fiscal information to order. This should reflect printed fiscal strip.
ROLE_SUROLE_MANAGERROLE_FISCALIZE) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| timestamp required | string <date-time> |
| proforma | boolean |
| user | string <uuid> |
| venue | string[a-zA-Z0-9_.-]+ |
| amount required | number |
| printer required | string [ 3 .. 64 ] characters |
| slip required | string [ 3 .. 64 ] characters |
| taxId | string [ 0 .. 32 ] characters |
| message | string [ 0 .. 64 ] characters |
Array of objects (SlipEntry) | |
Array of objects (DrsSummary) [ 0 .. 64 ] items | |
object | |
Array of objects (SubTotalDiscount) [ 0 .. 24 ] items | |
object |
{- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}Change extra params in order.
| uid required | string <uuid> Order id |
object Extra params to add as name:value pairs. Only names starting with 'X-' are allowed. | |
| remove | Array of strings [ 0 .. 64 ] items Names of extra params to remove |
{- "store": {
- "X-PARAM": "value"
}, - "remove": "{\"X-PARAM\"}"
}Set due timestamp for order.
| uid required | string <uuid> Order id |
| due | string <date-time> Due timestamp of order. Allows to place future orders. Some conditions depending on tenant configuration must be met on how soon or late this timestamp can be. |
{- "due": "2019-08-24T14:15:22Z"
}Alter discounts on named layer for order.
ROLE_SUROLE_MANAGERROLE_DISCOUNT) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
object | |
object | |
| layer required | string [ 3 .. 32 ] characters [a-zA-Z0-9_.-]+ Default: "DISCOUNT" Discounts layer. Subsequent requests with same layer will remove previous discounts and apply new one for that same layer. |
{- "discounts": {
- "property1": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "property2": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
]
}, - "prices": {
- "property1": [
- {
- "description": "string",
- "product": "string",
- "path": "string",
- "price": 0
}
], - "property2": [
- {
- "description": "string",
- "product": "string",
- "path": "string",
- "price": 0
}
]
}, - "layer": "DISCOUNT"
}Mark order as delivered.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_DELIVERYROLE_{venue}_MANAGERROLE_{venue}_ORDERSROLE_{venue}_DELIVERY) | uid required | string <uuid> Order id |
Mark order as deliver ready (before it is delivered).
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_DELIVERYROLE_{venue}_MANAGERROLE_{venue}_ORDERSROLE_{venue}_DELIVERY) | uid required | string <uuid> Order id |
Set contact information for user. At least one contact is required (email and/or phone).
| uid required | string <uuid> Order id |
| name | string [ 0 .. 64 ] characters Name to be stored as user contact information |
| phone | string [ 4 .. 32 ] characters \+?[0-9]+ Phone to be stored as user contact information |
string [ 4 .. 256 ] characters Email to be stored as user contact information |
{- "name": "string",
- "phone": "string",
- "mail": "string"
}Confirm deferred payments in order.
ROLE_SUROLE_MANAGERROLE_PAYROLE_CONFIRM_PAYMENTS) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
Claim order. This is used to attach additional user to order. User can be just another user, waiter or technical account for kiosk, etc.
| uid required | string <uuid> Order id |
| name | string [ 0 .. 64 ] characters Name to be stored as user contact information |
| phone | string [ 4 .. 32 ] characters \+?[0-9]+ Phone to be stored as user contact information |
string [ 4 .. 256 ] characters Email to be stored as user contact information | |
| code required | string [ 0 .. 32 ] characters [0-9]{0,16} Claim code. Must match code in order. |
{- "name": "string",
- "phone": "string",
- "mail": "string",
- "code": "\"123456\""
}Change order type.
| uid required | string <uuid> Order id |
| orderType required | string Enum: "DELIVERY" "TAKE_AWAY" "DINE_IN_OPEN" "DINE_IN" "GLOVO_DELIVERY" "GLOVO_TAKE_AWAY" "JUSTEAT_DELIVERY" "JUSTEAT_TAKE_AWAY" "UBER_DELIVERY" "UBER_TAKE_AWAY" "UBER_DINE_IN" "WOLT_DELIVERY" "WOLT_TAKE_AWAY" "WOLT_DINE_IN" "BOLT_DELIVERY" "BOLT_TAKE_AWAY" "BOLT_DINE_IN" "TAZZ_DELIVERY" "TAZZ_TAKE_AWAY" "UPMENU_DELIVERY" "UPMENU_TAKE_AWAY" "UPMENU_DINE_IN" |
{- "orderType": "DELIVERY"
}Cancel order. Cancelling is available for restaurant staff. Involves e-payments refund. If refund fails - cancelling does not take place.
| uid required | string <uuid> Order id |
| statusInfo | string [ 0 .. 128 ] characters |
{- "statusInfo": "string"
}Attach user to order with specified role(s).
ROLE_SUROLE_ATTACH) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| user required | string <uuid> User to be attached |
| roles required | Array of strings [ 1 .. 10 ] items unique Items Enum: "CREATOR" "CUSTOMER" "COUPON" "KIOSK" "WAITER" "MANAGER" "VIEWER" "DRIVER" "STAFF" Roles. Not all roles can be set this way. |
| name | string [ 0 .. 64 ] characters Name to be stored as user contact information |
| phone | string [ 0 .. 32 ] characters [0-9]+ Phone to be stored as user contact information |
string [ 0 .. 128 ] characters Email to be stored as user contact information |
{- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "mail": "string"
}Add order line to order.
| uid required | string <uuid> Order id |
| venue required | string |
required | Array of objects (AppendedLine) [ 1 .. 32 ] items |
{- "venue": "string",
- "lines": [
- {
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "productConfig": { },
- "status": "NEW",
- "comment": "string",
- "discounts": [
- {
- "discount": {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}, - "expires": "2019-08-24T14:15:22Z",
- "sign": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
]
}Set delivery address for order.
| uid required | string <uuid> Order id |
required | object (Address) Delivery address |
{- "address": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}
}Abandon order. Only not completed orders can be abandoned this way.
| uid required | string <uuid> Order id |
| statusInfo | string [ 0 .. 128 ] characters |
{- "statusInfo": "string"
}Create new order. In oauth2-client scenario required X-Tenant and X-User HTTP headers.
| orderType required | string Enum: "DELIVERY" "TAKE_AWAY" "DINE_IN_OPEN" "DINE_IN" "GLOVO_DELIVERY" "GLOVO_TAKE_AWAY" "JUSTEAT_DELIVERY" "JUSTEAT_TAKE_AWAY" "UBER_DELIVERY" "UBER_TAKE_AWAY" "UBER_DINE_IN" "WOLT_DELIVERY" "WOLT_TAKE_AWAY" "WOLT_DINE_IN" "BOLT_DELIVERY" "BOLT_TAKE_AWAY" "BOLT_DINE_IN" "TAZZ_DELIVERY" "TAZZ_TAKE_AWAY" "UPMENU_DELIVERY" "UPMENU_TAKE_AWAY" "UPMENU_DINE_IN" |
| due | string <date-time> |
object (Address) Delivery address | |
Array of objects (AppendedBucket) [ 0 .. 5 ] items | |
| discardInvalidLines | boolean Default: false Whether lines referencing invalid products should be discarded and order containing rest of lines should be created (when true) or whole order should be rejected if some lines do not validate (false). Can be used to post historical order again and have all still valid products added. |
object (ContactRequest) | |
object | |
| loyaltyCard | string [ 0 .. 255 ] characters |
| variant | string 1 characters [AB] |
{- "orderType": "DELIVERY",
- "due": "2019-08-24T14:15:22Z",
- "address": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "buckets": [
- {
- "venue": "string",
- "lines": [
- {
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "productConfig": { },
- "status": "NEW",
- "comment": "string",
- "discounts": [
- {
- "discount": {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}, - "expires": "2019-08-24T14:15:22Z",
- "sign": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "discardInvalidLines": false,
- "contact": {
- "name": "string",
- "phone": "string",
- "mail": "string"
}, - "extra": {
- "property1": "string",
- "property2": "string"
}, - "loyaltyCard": "string",
- "variant": "s"
}Create new order from aggregator (already paid). In oauth2-client scenario required X-Tenant and X-User HTTP headers.
ROLE_SUROLE_AGGREGATOR + ROLE_PAYROLE_AGGREGATOR + ROLE_PAY_{paymentType}) | orderType required | string Enum: "DELIVERY" "TAKE_AWAY" "DINE_IN_OPEN" "DINE_IN" "GLOVO_DELIVERY" "GLOVO_TAKE_AWAY" "JUSTEAT_DELIVERY" "JUSTEAT_TAKE_AWAY" "UBER_DELIVERY" "UBER_TAKE_AWAY" "UBER_DINE_IN" "WOLT_DELIVERY" "WOLT_TAKE_AWAY" "WOLT_DINE_IN" "BOLT_DELIVERY" "BOLT_TAKE_AWAY" "BOLT_DINE_IN" "TAZZ_DELIVERY" "TAZZ_TAKE_AWAY" "UPMENU_DELIVERY" "UPMENU_TAKE_AWAY" "UPMENU_DINE_IN" |
| due | string <date-time> |
object (Address) Delivery address | |
Array of objects (AppendedBucket) [ 0 .. 5 ] items | |
| discardInvalidLines | boolean Default: false Whether lines referencing invalid products should be discarded and order containing rest of lines should be created (when true) or whole order should be rejected if some lines do not validate (false). Can be used to post historical order again and have all still valid products added. |
object (ContactRequest) | |
object | |
| loyaltyCard | string [ 0 .. 255 ] characters |
| extId | string [ 8 .. 64 ] characters [a-zA-Z0-9_./-]+ |
object (Payment) | |
| comment | string [ 3 .. 255 ] characters |
{- "orderType": "DELIVERY",
- "due": "2019-08-24T14:15:22Z",
- "address": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "buckets": [
- {
- "venue": "string",
- "lines": [
- {
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "productConfig": { },
- "status": "NEW",
- "comment": "string",
- "discounts": [
- {
- "discount": {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}, - "expires": "2019-08-24T14:15:22Z",
- "sign": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "discardInvalidLines": false,
- "contact": {
- "name": "string",
- "phone": "string",
- "mail": "string"
}, - "extra": {
- "property1": "string",
- "property2": "string"
}, - "loyaltyCard": "string",
- "extId": "stringst",
- "payment": {
- "type": "CASH",
- "source": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "comment": "string"
}Get paginated list of orders. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_{venue}_MANAGERROLE_{venue}_ORDERS) required | object (OrdersFilter) |
| x-tenant | string <uuid> |
Get single order by ID.
| uid required | string <uuid> Order id |
| x-tenant | string <uuid> Required when using client token |
{- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}Check if order already exists. Used only internally.
| uid required | string <uuid> Order id |
| x-tenant | string <uuid> Required when using client token |
{- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}Get opened orders in venue. Used by KDS, queue displays etc.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_KDSROLE_COOKROLE_WAITERROLE_{venue}_MANAGERROLE_{venue}_ORDERSROLE_{venue}_KDSROLE_{venue}_COOKROLE_{venue}_WAITER) | uid required | string [ 3 .. 128 ] characters Venue id |
| x-tenant | string <uuid> Required when using client token |
[- {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}
]Get opened orders for user.
| venue | string [ 3 .. 128 ] characters [a-zA-Z0-9_.-]+ Optional filter by venue (complementary to websocket filtering by venue) |
| x-tenant | string <uuid> Required when using client token |
[- {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}
]Get last orders for user (all states included).
| x-tenant | string <uuid> Required when using client token |
[- {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}
]Verify order by ID if it can be paid.
| uid required | string <uuid> Order id |
| returnOrder | boolean Default: false |
| x-tenant | string <uuid> |
| type required | string Enum: "CASH" "CARD" "COD" "TERMINAL" "EPAYMENT" "COUPON" "WALLET" "PREAUTHORIZED" "RETURN" "EXTERNAL" |
| source required | string[\p{L}\p{N}_.-]+ |
| amount required | number |
{- "type": "CASH",
- "source": "string",
- "amount": 0
}{- "result": true,
- "order": {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}, - "codes": [
- {
- "code": "string",
- "message": "string",
- "args": [
- "string"
]
}
]
}Verify order by ID if it can be paid.
| uid required | string <uuid> Order id |
| returnOrder | boolean Default: false |
| x-tenant | string <uuid> |
| type required | string Enum: "CASH" "CARD" "COD" "TERMINAL" "EPAYMENT" "COUPON" "WALLET" "PREAUTHORIZED" "RETURN" "EXTERNAL" |
| source required | string[\p{L}\p{N}_.-]+ |
| amount required | number |
{- "type": "CASH",
- "source": "string",
- "amount": 0
}{- "result": true,
- "order": {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}, - "codes": [
- {
- "code": "string",
- "message": "string",
- "args": [
- "string"
]
}
]
}Get single order by ID.
| uid required | string <uuid> Order id |
| x-tenant | string <uuid> Required when using client token |
{- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}Check if order already exists. Used only internally.
| uid required | string <uuid> Order id |
| x-tenant | string <uuid> Required when using client token |
{- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}Get opened orders in venue. Used by KDS, queue displays etc.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_KDSROLE_COOKROLE_WAITERROLE_{venue}_MANAGERROLE_{venue}_ORDERSROLE_{venue}_KDSROLE_{venue}_COOKROLE_{venue}_WAITER) | uid required | string [ 3 .. 128 ] characters Venue id |
| x-tenant | string <uuid> Required when using client token |
[- {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}
]Get opened orders for user.
| venue | string [ 3 .. 128 ] characters [a-zA-Z0-9_.-]+ Optional filter by venue (complementary to websocket filtering by venue) |
| x-tenant | string <uuid> Required when using client token |
[- {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}
]Get last orders for user (all states included).
| x-tenant | string <uuid> Required when using client token |
[- {
- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}
]Request fiscal data for order. Data is returnet through websocket.
ROLE_SUROLE_MANAGERROLE_FISCALIZE) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
Add fiscal information to order. This should reflect printed fiscal strip.
ROLE_SUROLE_MANAGERROLE_FISCALIZE) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| timestamp required | string <date-time> |
| proforma | boolean |
| user | string <uuid> |
| venue | string[a-zA-Z0-9_.-]+ |
| amount required | number |
| printer required | string [ 3 .. 64 ] characters |
| slip required | string [ 3 .. 64 ] characters |
| taxId | string [ 0 .. 32 ] characters |
| message | string [ 0 .. 64 ] characters |
Array of objects (SlipEntry) | |
Array of objects (DrsSummary) [ 0 .. 64 ] items | |
object | |
Array of objects (SubTotalDiscount) [ 0 .. 24 ] items | |
object |
{- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}Remove deferred payment from order.
ROLE_SUROLE_MANAGERROLE_PAY) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| paymentId required | string <uuid> |
{- "paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7"
}Add payment information to order.
ROLE_SUROLE_PAYROLE_PAY_{paymentType}) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| type required | string Enum: "CASH" "CARD" "COD" "TERMINAL" "EPAYMENT" "COUPON" "WALLET" "PREAUTHORIZED" "RETURN" "EXTERNAL" |
| source required | string[\p{L}\p{N}_.-]+ |
| amount required | number >= 0 |
| deferred | boolean Default: false Payment is deferred, does not trigger next steps |
object |
{- "type": "CASH",
- "source": "string",
- "amount": 0,
- "deferred": false,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}Update payment information in order.
ROLE_SUROLE_MANAGER) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
| paymentId required | string <uuid> |
| amount | number >= 0 Can be NULL then it is not altered in payment record. |
object Additional (extra) data. |
{- "paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7",
- "amount": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}
}Confirm deferred payments in order.
ROLE_SUROLE_MANAGERROLE_PAYROLE_CONFIRM_PAYMENTS) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| x-user | string <uuid> |
Change lines quantity.
| uid required | string <uuid> Order id |
required | Array of objects (LineQuantity) |
{- "lines": [
- {
- "line": "cbd064df-a272-4ffb-a570-4b4e90fd2e3b",
- "quantity": 1
}
]
}Split order lines. Makes copies of existing order line with smaller quantities. Sum of quantities must match.
| uid required | string <uuid> Order id |
required | Array of objects (LineSplit) [ 1 .. 2147483647 ] items |
{- "lines": [
- {
- "line": "cbd064df-a272-4ffb-a570-4b4e90fd2e3b",
- "split": [
- {
- "lineId": "e698cdee-c4ef-4d12-b0ea-7c98b2fc64a8",
- "quantity": 1
}
]
}
]
}Remove order line. Whether line can be removed depends on its state.
| uid required | string <uuid> Order id |
[- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]Change extra params in order.
| uid required | string <uuid> Order id |
required | Array of objects (LinesExtra) Incremental change of extra params in lines |
{- "lines": [
- {
- "line": "cbd064df-a272-4ffb-a570-4b4e90fd2e3b",
- "store": {
- "X-PARAM": "value"
}, - "remove": "{\"X-PARAM\"}"
}
]
}Add order line to order.
| uid required | string <uuid> Order id |
| venue required | string |
required | Array of objects (AppendedLine) [ 1 .. 32 ] items |
{- "venue": "string",
- "lines": [
- {
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "productConfig": { },
- "status": "NEW",
- "comment": "string",
- "discounts": [
- {
- "discount": {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}, - "expires": "2019-08-24T14:15:22Z",
- "sign": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
]
}Push upsell message to users of order.
ROLE_SUROLE_PUSH) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| roles | Array of strings [ 0 .. 8 ] items Items Enum: "CREATOR" "CUSTOMER" "COUPON" "KIOSK" "WAITER" "MANAGER" "VIEWER" "DRIVER" "STAFF" |
object (Details) | |
| showAs required | string Enum: "ANY" "POPUP" "SIDE" "BASKET" |
| items required | Array of strings [ 1 .. 2147483647 ] items |
{- "roles": [
- "CREATOR"
], - "details": {
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "media": [
- {
- "url": "string",
- "name": "string"
}
]
}, - "showAs": "ANY",
- "items": [
- "string"
]
}Push message to users of order.
ROLE_SUROLE_PUSH) | uid required | string <uuid> Order id |
| x-tenant | string <uuid> |
| roles | Array of strings [ 0 .. 8 ] items Items Enum: "CREATOR" "CUSTOMER" "COUPON" "KIOSK" "WAITER" "MANAGER" "VIEWER" "DRIVER" "STAFF" |
object (Details) | |
| code | string [ 0 .. 128 ] characters [\p{L}\p{N}_.-]+ |
| message | string [ 0 .. 1024 ] characters |
| args | Array of strings [ 0 .. 32 ] items |
{- "roles": [
- "CREATOR"
], - "details": {
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "media": [
- {
- "url": "string",
- "name": "string"
}
]
}, - "code": "string",
- "message": "string",
- "args": [
- "string"
]
}Track order visibility on KDS.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_KDSROLE_COOKROLE_WAITERROLE_{venue}_MANAGERROLE_{venue}_ORDERSROLE_{venue}_KDSROLE_{venue}_COOKROLE_{venue}_WAITER) | uid required | string <uuid> Order id |
| config | string KDS config |
Sync order from external source. It acts as snapshot and all required order structures must be filled.
ROLE_SUROLE_SYNC) | tenant required | string <uuid> Tenant identifier |
| id required | string <uuid> Order identifier |
| extId | string Additional identifier |
| created required | string <date-time> Timestamp of creation |
| due | string <date-time> Timestamp of order due (for future orders) |
| etf | string <date-time> Estimated Time of Fulfilment, defined as max(due, now + minDeliveryTime) |
| closedDate | string <date-time> Timestamp of closing order |
| lastChanged | string <date-time> Timestamp of last update |
| completedTime | string <date-time> Timestamp of order completion |
| verifiedTime | string <date-time> Timestamp of order verification |
| processingStartedTime | string <date-time> Timestamp of order processing started (when first line got status above CONFIRMED) |
| deliveredTime | string <date-time> Timestamp of delivery |
| source required | string Internal system param |
Array of objects (OrderUser) Users involved in this order | |
| loyaltyId | string Loyalty card id |
Array of objects (OrderCoupon) Coupons | |
| orderType required | string Enum: "DELIVERY" "TAKE_AWAY" "DINE_IN_OPEN" "DINE_IN" "GLOVO_DELIVERY" "GLOVO_TAKE_AWAY" "JUSTEAT_DELIVERY" "JUSTEAT_TAKE_AWAY" "UBER_DELIVERY" "UBER_TAKE_AWAY" "UBER_DINE_IN" "WOLT_DELIVERY" "WOLT_TAKE_AWAY" "WOLT_DINE_IN" "BOLT_DELIVERY" "BOLT_TAKE_AWAY" "BOLT_DINE_IN" "TAZZ_DELIVERY" "TAZZ_TAKE_AWAY" "UPMENU_DELIVERY" "UPMENU_TAKE_AWAY" "UPMENU_DINE_IN" Order type |
object (Address) Delivery address | |
object (GeoPosition) Geo position for delivery | |
| total required | number Order total |
| editTotal required | number Editing total (including lines that are not confirmed) |
| status required | string Order status |
| statusInfo | string Additional status info |
Array of objects (OrderComment) Comments | |
| claimCode | string Secret code for order claims |
| variant | string 1 characters [AB] Variant for AB testing |
Array of objects (OrderBucket) Buckets with order lines | |
Array of objects (OrderPayment) Payments for this order | |
Array of objects (OrderFiscal) Printed fiscal slips | |
Array of objects (TaxSummary) [ 0 .. 128 ] items Tax summary | |
Array of objects (OrderDrsSummary) [ 0 .. 128 ] items DRS summary | |
object Extra params | |
object Traces | |
Array of objects (OrderLog) Logs | |
| locked | boolean |
| completed | boolean |
| verified | boolean |
| closed | boolean |
{- "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "extId": "string",
- "created": "2019-08-24T14:15:22Z",
- "due": "2019-08-24T14:15:22Z",
- "etf": "2019-08-24T14:15:22Z",
- "closedDate": "2019-08-24T14:15:22Z",
- "lastChanged": "2019-08-24T14:15:22Z",
- "completedTime": "2019-08-24T14:15:22Z",
- "verifiedTime": "2019-08-24T14:15:22Z",
- "processingStartedTime": "2019-08-24T14:15:22Z",
- "deliveredTime": "2019-08-24T14:15:22Z",
- "source": "string",
- "users": [
- {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roles": [
- "CREATOR"
], - "name": "string",
- "phone": "string",
- "email": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "loyaltyId": "string",
- "coupons": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "coupon": "string",
- "addedAt": "2019-08-24T14:15:22Z",
- "addedBy": "e7b73b51-b147-4481-bcc4-0ec1394b652e",
- "data": {
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "couponKey": "string",
- "enableKey": [
- "string"
], - "productId": "string",
- "categoryId": "string",
- "campaign": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "orderType": "DELIVERY",
- "deliveryAddress": {
- "street": "string",
- "number": "string",
- "door": "string",
- "postal": "string",
- "city": "string",
- "country": "string"
}, - "geoPosition": {
- "lat": 0,
- "lng": 0
}, - "total": 0,
- "editTotal": 0,
- "status": "string",
- "statusInfo": "string",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "claimCode": "string",
- "variant": "s",
- "buckets": [
- {
- "venue": "string",
- "sync": true,
- "syncId": "string",
- "name": "string",
- "menu": "string",
- "priceList": "string",
- "warehouse": "string",
- "lines": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "source": "string",
- "quantity": 1,
- "price": 0,
- "productId": "string",
- "product": {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "items": [
- {
- "id": "string",
- "literals": {
- "property1": "string",
- "property2": "string"
}, - "img": "string",
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "kind": "string"
}
], - "quantity": 0,
- "price": 0,
- "vat": "string",
- "drs": 0,
- "name": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}, - "productConfig": { },
- "bom": {
- "property1": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}, - "property2": {
- "unit": "l",
- "qty": 0,
- "cat": [
- "string"
]
}
}, - "status": "NEW",
- "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator": "1dccd4a6-75d2-43aa-a088-76d941f1b60a",
- "timestamp": "2019-08-24T14:15:22Z",
- "comment": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "discounts": [
- {
- "layer": "string",
- "name": "string",
- "discountPrice": 0,
- "extra": {
- "property1": "string",
- "property2": "string"
}, - "type": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "hash": "string",
- "total": 0
}
], - "queuePos": "string",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "payments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "CASH",
- "source": "string",
- "amount": 0,
- "initialAmount": 0,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "deferred": false,
- "timestamp": "2019-08-24T14:15:22Z",
- "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "fiscal": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "proforma": true,
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "venue": "string",
- "amount": 0,
- "printer": "string",
- "slip": "string",
- "taxId": "string",
- "message": "string",
- "entries": [
- {
- "item": "string",
- "qty": 0,
- "price": 0,
- "discount": 0,
- "total": 0,
- "drs": 0,
- "vat": "string"
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0
}
], - "payments": {
- "property1": 0,
- "property2": 0
}, - "subTotalDiscounts": [
- {
- "name": "string",
- "discount": 0,
- "vat": "string"
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}
}
], - "tax": [
- {
- "rate": "string",
- "confirmed": true,
- "netto": 0,
- "tax": 0,
- "brutto": 0
}
], - "drsSummary": [
- {
- "deposit": 0,
- "count": 0,
- "confirmed": true
}
], - "extra": {
- "property1": "string",
- "property2": "string"
}, - "traces": {
- "property1": "2019-08-24T14:15:22Z",
- "property2": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "ip": "string",
- "message": "string",
- "lines": [
- "string"
]
}
], - "locked": true,
- "completed": true,
- "verified": true,
- "closed": true
}Get paginated list of all venues stats for today. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SUROLE_MANAGERROLE_ORDERS) required | object (StatsTodayFilter) |
| x-tenant | string <uuid> |
Get paginated list of globals stats. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SUROLE_MANAGERROLE_ORDERS) required | object (StatsFilter) |
| x-tenant | string <uuid> |
Get paginated list of single venue stats. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_{venue}_MANAGERROLE_{venue}_ORDERS) | venue required | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ |
required | object (StatsFilter) |
| x-tenant | string <uuid> |
Get paginated list of orders. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SUROLE_MANAGERROLE_ORDERSROLE_{venue}_MANAGERROLE_{venue}_ORDERS) required | object (OrdersFilter) |
| x-tenant | string <uuid> |