Set the table category as served.
Request parameters
{
"categoryName": "example"
}
Responses
{
"id": "b80bb774-0288-3da1-b201-890375a60c8f",
"createdAt": "1998-11-02T21:37:14Z",
"updatedAt": "2011-11-10T04:49:59Z",
"currentCustomers": [
{
"id": "b80bb774-0288-3da1-b201-890375a60c8f",
"createdAt": "1998-11-02T21:37:14Z",
"updatedAt": "2011-11-10T04:49:59Z",
"tableId": "11ecb9a0-25db-3510-8366-7d1af44472b9",
"identifier": "example",
"hasToPay": false,
"isPaymentFirst": true,
"isFinished": true,
"restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163",
"oneSignalId": "7d0e3cc0-0eb4-3d8e-8f68-8136580d6025",
"orders": [
{
"id": "b80bb774-0288-3da1-b201-890375a60c8f",
"createdAt": "1998-11-02T21:37:14Z",
"updatedAt": "2011-11-10T04:49:59Z",
"customerId": "c7fe6c0d-a028-3abd-8e96-b311aeb9eedc",
"tableId": "11ecb9a0-25db-3510-8366-7d1af44472b9",
"restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163",
"totalPrice": 55.0,
"unpaidTotalPrice": 26.0,
"state": "0",
"lineItems": [
{
"id": "b80bb774-0288-3da1-b201-890375a60c8f",
"createdAt": "1998-11-02T21:37:14Z",
"updatedAt": "2011-11-10T04:49:59Z",
"productId": "cfe72f93-8f57-3f93-8d77-049c4d4e765d",
"orderId": "61e9abea-a2ba-3e12-9655-5c135d818e6e",
"name": "example",
"categoryProductData": {
"categoryName": ...,
"servingPeriod": ...
},
"quantity": 49,
"unitPrice": 99.0,
"vatRate": "0",
"externalPaymentId": "example",
"payingCustomerId": "73d4fd54-ee66-3d8a-86a0-4cebd154dc0d",
"isRefunded": false,
"isPaid": true,
"isCanceled": false,
"isAcknowledged": true,
"isServed": false,
"totalPrice": 55.0,
"instructions": "example",
"personalizations": [
...
]
}
],
"needsToBePaid": false,
"isTreatmentOver": true,
"paymentState": "0"
}
]
}
],
"restaurantId": "f459eb7f-8954-39fb-b7ad-424937beb163",
"tableNumber": 19,
"seatsCount": 53,
"color": 23,
"state": "0",
"waiterCalledIndicator": "1",
"rowVersion": "a91b6eb6-7836-3ff0-95b3-788ca2904fd0",
"sortingIndex": 66,
"outstandingBalance": 66.0,
"isManualRelease": false,
"sittingCustomersLimit": 18,
"currentlySittingCustomersCount": 24,
"numberOfCustomersWhoPlacedAnOrder": 33,
"isCustomersLimitReached": true,
"isReleasable": true,
"isOutOfService": true,
"totalPrice": 55.0
}
{
"type": "example",
"title": "example",
"status": 50,
"detail": "example",
"instance": "example"
}
{
"type": "example",
"title": "example",
"status": 50,
"detail": "example",
"instance": "example"
}
{
"type": "example",
"title": "example",
"status": 50,
"detail": "example",
"instance": "example"
}
{
"type": "example",
"title": "example",
"status": 50,
"detail": "example",
"instance": "example"
}
Last modified: 21 May 2024