Reservations

Lists all reservations.

get
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"
        ]
      }
    ]
  }
}

Creates a new reservation.

post
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"
      ]
    }
  }
}

Returns a specific reservation.

get
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"
      ]
    }
  }
}

Deletes a specific reservation.

delete
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
  }
}

Updates a specific reservation.

patch
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"
      ]
    }
  }
}

Exports all reservations with support for incremental fetching.

get
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"
  }
}

Exports all reservations with support for incremental fetching.

get
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"
        ]
      }
    ]
  }
}

Lists all reservations for a spesific customer.

get
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?