Reservations
Responses
200Success
application/json
get
GET /v1/flow/reservations HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"items": [
{
"type": "queue",
"code": "text",
"businessDate": "text",
"time": "text",
"numberOfGuests": 1,
"actualNumberOfGuests": 1,
"status": 1,
"duration": 1,
"seatedAt": "text",
"leftAt": "text",
"note": "text",
"areaId": "text",
"reference": "text",
"internalNote": "text",
"paid": true,
"ages": [
{
"id": "text",
"count": 1
}
],
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text",
"branchId": "text",
"customerUid": "text",
"tableIds": [
"text"
],
"can": [
"cancel"
],
"recommendedTableIds": [
"text"
],
"labels": [
{
"uid": "text",
"labelUid": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text"
}
],
"feeOrderUid": "text",
"scheduledOrderUid": "text",
"experienceUids": [
"text"
]
}
]
}
}
Body
Responses
200Success
application/json
post
POST /v1/flow/reservations HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 291
{
"params": {
"branchId": "text",
"customerId": "text",
"time": "text",
"numberOfGuests": 1,
"status": 1,
"duration": 1,
"seatedAt": "text",
"leftAt": "text",
"note": "text",
"areaId": "text",
"tableIds": [
"text"
],
"reference": "text",
"internalNote": "text",
"experienceUids": [
"text"
],
"ages": [
{
"id": "text",
"count": 1
}
]
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"item": {
"type": "queue",
"code": "text",
"businessDate": "text",
"time": "text",
"numberOfGuests": 1,
"actualNumberOfGuests": 1,
"status": 1,
"duration": 1,
"seatedAt": "text",
"leftAt": "text",
"note": "text",
"areaId": "text",
"reference": "text",
"internalNote": "text",
"paid": true,
"ages": [
{
"id": "text",
"count": 1
}
],
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text",
"branchId": "text",
"customerUid": "text",
"tableIds": [
"text"
],
"can": [
"cancel"
],
"recommendedTableIds": [
"text"
],
"labels": [
{
"uid": "text",
"labelUid": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text"
}
],
"feeOrderUid": "text",
"scheduledOrderUid": "text",
"experienceUids": [
"text"
]
}
}
}
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/flow/reservations/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"item": {
"type": "queue",
"code": "text",
"businessDate": "text",
"time": "text",
"numberOfGuests": 1,
"actualNumberOfGuests": 1,
"status": 1,
"duration": 1,
"seatedAt": "text",
"leftAt": "text",
"note": "text",
"areaId": "text",
"reference": "text",
"internalNote": "text",
"paid": true,
"ages": [
{
"id": "text",
"count": 1
}
],
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text",
"branchId": "text",
"customerUid": "text",
"tableIds": [
"text"
],
"can": [
"cancel"
],
"recommendedTableIds": [
"text"
],
"labels": [
{
"uid": "text",
"labelUid": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text"
}
],
"feeOrderUid": "text",
"scheduledOrderUid": "text",
"experienceUids": [
"text"
]
}
}
}
Path parameters
idstringRequired
Responses
200Success
application/json
delete
DELETE /v1/flow/reservations/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"succeed": true
}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/flow/reservations/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 227
{
"params": {
"uid": "text",
"time": "text",
"numberOfGuests": 1,
"status": 1,
"duration": 1,
"seatedAt": "text",
"leftAt": "text",
"note": "text",
"areaId": "text",
"tableIds": {},
"internalNote": "text",
"paid": true,
"ages": [
{
"id": "text",
"count": 1
}
]
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"item": {
"type": "queue",
"code": "text",
"businessDate": "text",
"time": "text",
"numberOfGuests": 1,
"actualNumberOfGuests": 1,
"status": 1,
"duration": 1,
"seatedAt": "text",
"leftAt": "text",
"note": "text",
"areaId": "text",
"reference": "text",
"internalNote": "text",
"paid": true,
"ages": [
{
"id": "text",
"count": 1
}
],
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text",
"branchId": "text",
"customerUid": "text",
"tableIds": [
"text"
],
"can": [
"cancel"
],
"recommendedTableIds": [
"text"
],
"labels": [
{
"uid": "text",
"labelUid": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text"
}
],
"feeOrderUid": "text",
"scheduledOrderUid": "text",
"experienceUids": [
"text"
]
}
}
}
Path parameters
updatedSincestringRequired
offsetstringRequired
Responses
200Success
application/json
get
GET /v1/flow/reservations/export HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"items": [
{
"type": "queue",
"code": "text",
"businessDate": "text",
"time": "text",
"numberOfGuests": 1,
"actualNumberOfGuests": 1,
"status": 1,
"duration": 1,
"seatedAt": "text",
"leftAt": "text",
"note": "text",
"areaId": "text",
"reference": "text",
"internalNote": "text",
"paid": true,
"ages": [
{
"id": "text",
"count": 1
}
],
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uid": "text",
"branchId": "text",
"customerUid": "text",
"tableIds": [
"text"
],
"can": [
"cancel"
],
"recommendedTableIds": [
"text"
],
"labels": [
{
"uid": "text",
"labelUid": "text",
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text"
}
],
"feeOrderUid": "text",
"scheduledOrderUid": "text",
"experienceUids": [
"text"
]
}
],
"next": "text"
}
}
Query parameters
branchIdstringRequired
businessDatestringOptional
numberOfGuestsnumberRequired
durationnumberOptional
timestringOptional
areaIdstringOptional
tableIdsstring[]Optional
updatedSourceIdstringOptional
experienceUidsstring[]Optional
Responses
200Success
application/json
get
GET /v1/flow/reservations/availability?branchId=text&numberOfGuests=1 HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"businessDate": "text",
"slots": [
{
"time": "text",
"isoTime": "text",
"tables": [
{
"name": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"circle": true,
"minSeats": 1,
"maxSeats": 1,
"archived": true,
"active": true,
"id": "text",
"areaId": "text"
}
],
"experienceUids": [
"text"
]
}
]
}
}
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/flow/reservations/by-customer/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"items": [
{}
],
"next": "text"
}
}
Was this helpful?