get https://api.allthetables.com/partner/venues//availability
Fetching availability for a venue pulls live availability from a venues Electronic Reservation Book (ERB). If a venue works with multiple ERBs, then availability is automatically aggregated.
Availability is fetch for a given dateTime
in UTC format and number of covers
.
Availability may be cached when multiple availability calls for the sate dateTime and covers is made within quick succession, or if a booking provider is unreachable.
Example Availability Response
{
"success": true,
"cached": false,
"slots": [
{
"provider": "sevenRooms",
"timeSlot": "18:00",
"date": "2024-10-04T17:00:00.000Z",
"url": "https://www.sevenrooms.com/explore/casafofo/reservations/create/search?date=2024-10-04&party_size=2&start_time=18:00",
"maxDuration": 150,
"metaData": {
"sevenRooms": {
"type": "request",
"access_persistent_id": "ahNzfnNldmVucm9vbXMtc2VjdXJlchwLEg9uaWdodGxvb3BfVmVudWUYgID2rdOtoAgM-1720795994.624218-0.5917197656369396"
}
},
"dobRequired": false,
"bookingFormAction": "website"
},
{
"provider": "sevenRooms",
"timeSlot": "18:30",
"date": "2024-10-04T17:30:00.000Z",
"url": "https://www.sevenrooms.com/explore/casafofo/reservations/create/search?date=2024-10-04&party_size=2&start_time=18:30",
"maxDuration": 150,
"metaData": {
"sevenRooms": {
"type": "book",
"access_persistent_id": "ahNzfnNldmVucm9vbXMtc2VjdXJlchwLEg9uaWdodGxvb3BfVmVudWUYgID2rdOtoAgM-1720795994.624218-0.5917197656369396"
}
},
"dobRequired": false,
"bookingFormAction": "website"
}
]
}