Get paginated list of globals stats. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SU
ROLE_MANAGER
ROLE_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_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
) venue required | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ |
required | object (StatsFilter) |
x-tenant | string <uuid> |
Get paginated list of all venues stats for today. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SU
ROLE_MANAGER
ROLE_ORDERS
) required | object (StatsTodayFilter) |
x-tenant | string <uuid> |
Get paginated list of orders. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
) required | object (OrdersFilter) |
x-tenant | string <uuid> |
Manually set queue pos for order. Tenant configuration must allow it.
ROLE_SU
ROLE_QUEUE
) uid required | string <uuid> Order id |
venue required | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ |
queuePos required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ |
Track order visibility on KDS.
ROLE_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_KDS
ROLE_COOK
ROLE_WAITER
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
ROLE_{venue}_KDS
ROLE_{venue}_COOK
ROLE_{venue}_WAITER
) uid required | string <uuid> Order id |
config | string KDS config |
Mark order as verified.
ROLE_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_VERIFY
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
ROLE_{venue}_VERIFY
) uid required | string <uuid> Order id |
Create new order from aggregator (already paid).
ROLE_SU
ROLE_AGGREGATOR + ROLE_PAY
ROLE_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 |
object (Payment) | |
comment | string [ 3 .. 255 ] characters |
Mark order as deliver ready (before it is delivered).
ROLE_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_DELIVERY
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
ROLE_{venue}_DELIVERY
) uid required | string <uuid> Order id |
Mark order as delivered.
ROLE_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_DELIVERY
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
ROLE_{venue}_DELIVERY
) uid required | string <uuid> Order id |
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. |
Create new order.
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 |
Add payment information to order.
ROLE_SU
ROLE_PAY
ROLE_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 |
Update payment information in order.
ROLE_SU
ROLE_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. |
Confirm deferred payments in order.
ROLE_SU
ROLE_MANAGER
ROLE_PAY
ROLE_CONFIRM_PAYMENTS
) uid required | string <uuid> Order id |
x-tenant | string <uuid> |
x-user | string <uuid> |
Remove deferred payment from order.
ROLE_SU
ROLE_MANAGER
ROLE_PAY
) uid required | string <uuid> Order id |
x-tenant | string <uuid> |
x-user | string <uuid> |
paymentId required | 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 [ 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 | |
code required | string [ 0 .. 32 ] characters [0-9]{0,16} Claim code. Must match code in order. |
Set contact information for user.
uid required | string <uuid> Order id |
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 |
Attach user to order with specified role(s).
ROLE_SU
ROLE_ATTACH
) uid required | string <uuid> Order id |
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 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. |
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" |
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 |
Alter discounts on named layer for order.
ROLE_SU
ROLE_MANAGER
ROLE_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. |
Add fiscal information to order. This should reflect printed fiscal strip.
ROLE_SU
ROLE_MANAGER
ROLE_FISCALIZE
) uid required | string <uuid> Order id |
x-tenant | string <uuid> |
x-user | string <uuid> |
timestamp required | string <date-time> |
user | string <uuid> |
venue | string[\p{L}\p{N}_.-]+ |
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) | |
object | |
Array of objects (SubTotalDiscount) [ 0 .. 24 ] items | |
object |
Request fiscal data for order. Data is returnet through websocket.
ROLE_SU
ROLE_MANAGER
ROLE_FISCALIZE
) uid required | string <uuid> Order id |
x-tenant | string <uuid> |
x-user | string <uuid> |
Verify order by ID if it can be paid.
uid required | string <uuid> Order id |
returnOrder | boolean Default: true |
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 |
{- "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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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 order existence 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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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.
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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_KDS
ROLE_COOK
ROLE_WAITER
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
ROLE_{venue}_KDS
ROLE_{venue}_COOK
ROLE_{venue}_WAITER
) uid required | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ 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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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 orders. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
) required | object (OrdersFilter) |
x-tenant | string <uuid> |
Sync order from external source. It acts as snaptshot and all required order structures must be filled.
ROLE_SU
ROLE_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 |
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 | |
object Extra params | |
object Traces | |
Array of objects (OrderLog) Logs | |
locked | boolean |
completed | boolean |
verified | boolean |
closed | boolean |
Track order visibility on KDS.
ROLE_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_KDS
ROLE_COOK
ROLE_WAITER
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
ROLE_{venue}_KDS
ROLE_{venue}_COOK
ROLE_{venue}_WAITER
) uid required | string <uuid> Order id |
config | string KDS config |
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) |
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) |
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 |
Alter discounts on named layer for order.
ROLE_SU
ROLE_MANAGER
ROLE_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. |
Push upsell message to users of order.
ROLE_SU
ROLE_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 |
Push message to users of order.
ROLE_SU
ROLE_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 |
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 |
Sign line discounts.
ROLE_SU
ROLE_MANAGER
ROLE_SIGN
) x-tenant | string <uuid> |
required | object |
Add payment information to order.
ROLE_SU
ROLE_PAY
ROLE_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 |
Update payment information in order.
ROLE_SU
ROLE_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. |
Confirm deferred payments in order.
ROLE_SU
ROLE_MANAGER
ROLE_PAY
ROLE_CONFIRM_PAYMENTS
) uid required | string <uuid> Order id |
x-tenant | string <uuid> |
x-user | string <uuid> |
Remove deferred payment from order.
ROLE_SU
ROLE_MANAGER
ROLE_PAY
) uid required | string <uuid> Order id |
x-tenant | string <uuid> |
x-user | string <uuid> |
paymentId required | string <uuid> |
Post steering message.
ROLE_SU
ROLE_MANAGER
ROLE_STEERING
ROLE_{venue}_MANAGER
ROLE_{venue}_STEERING
ROLE_STEERING_{command}
ROLE_{venue}_STEERING_{command}
) x-tenant | string <uuid> |
command required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ |
venue required | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ |
object |
Add fiscal information to order. This should reflect printed fiscal strip.
ROLE_SU
ROLE_MANAGER
ROLE_FISCALIZE
) uid required | string <uuid> Order id |
x-tenant | string <uuid> |
x-user | string <uuid> |
timestamp required | string <date-time> |
user | string <uuid> |
venue | string[\p{L}\p{N}_.-]+ |
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) | |
object | |
Array of objects (SubTotalDiscount) [ 0 .. 24 ] items | |
object |
Request fiscal data for order. Data is returnet through websocket.
ROLE_SU
ROLE_MANAGER
ROLE_FISCALIZE
) uid required | string <uuid> Order id |
x-tenant | string <uuid> |
x-user | string <uuid> |
Verify order by ID if it can be paid.
uid required | string <uuid> Order id |
returnOrder | boolean Default: true |
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 |
{- "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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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: true |
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 |
{- "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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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 order existence 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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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.
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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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_SU
ROLE_MANAGER
ROLE_ORDERS
ROLE_KDS
ROLE_COOK
ROLE_WAITER
ROLE_{venue}_MANAGER
ROLE_{venue}_ORDERS
ROLE_{venue}_KDS
ROLE_{venue}_COOK
ROLE_{venue}_WAITER
) uid required | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ 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",
- "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",
- "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"
}
], - "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",
- "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,
- "vat": "string"
}
], - "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
}
], - "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
}
]