This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a reservation location by ID.
The FULL
fieldset can only be retrieved by users with the READ RESERVATION LOCATIONS (FULL)
or MANAGE RESERVATION LOCATIONS
permission scopes.
ID of the ReservationLocation to retrieve.
Array of named, predefined sets of projected fields to be returned.
Default: PUBLIC
.
The retrieved reservation location.
curl -X GET 'https://www.wixapis.com/table-reservations/reservation-locations/v1/reservation-locations/7b0221b9-a14a-48a3-a71c-f0d3b5d2b1ae?fieldsets=FULL' \
-H 'Authorization: <AUTH>'
{
"reservationLocation": {
"id": "28bca9ee-e5b9-4081-9f45-a6dded8593a1",
"revision": "3",
"createdDate": "2022-10-20T13:28:33.106Z",
"updatedDate": "2023-04-06T12:25:41.555Z",
"location": {
"id": "56d8ab44-7555-4324-95dc-36b5371a8ffe"
},
"configuration": {
"onlineReservations": {
"seatPacing": {
"number": 5,
"enabled": true
},
"partyPacing": {
"number": 2,
"enabled": true
},
"partySize": {
"min": 2,
"max": 7
},
"minimumReservationNotice": {
"number": 30,
"unit": "MINUTES"
},
"defaultTurnoverTime": 90,
"turnoverTimeRules": [
{
"seatsMin": 12,
"seatsMax": 17,
"minutes": 10
}
],
"businessSchedule": {
"periods": [
{
"openDay": "SUNDAY",
"openTime": "09:00",
"closeDay": "SUNDAY",
"closeTime": "18:00"
},
{
"openDay": "MONDAY",
"openTime": "09:00",
"closeDay": "MONDAY",
"closeTime": "18:00"
},
{
"openDay": "WEDNESDAY",
"openTime": "09:00",
"closeDay": "WEDNESDAY",
"closeTime": "18:00"
},
{
"openDay": "FRIDAY",
"openTime": "09:00",
"closeDay": "FRIDAY",
"closeTime": "18:00"
},
{
"openDay": "SATURDAY",
"openTime": "09:00",
"closeDay": "SATURDAY",
"closeTime": "18:00"
}
],
"specialHourPeriod": []
},
"onlineReservationsEnabled": true,
"manualApproval": {
"enabled": true,
"partySizeThreshold": 4
}
},
"reservationForm": {
"customFieldDefinitions": [
{
"id": "2f84023b-1a1b-4311-8951-da19a23c4b10",
"name": "Allergies",
"required": false
},
{
"id": "fa69341c-de2b-4287-ae61-249403785f60",
"name": "Vegetarian",
"required": true
}
]
},
"myReservationsFields": [
{
"fieldType": "TABLE",
"shown": true
},
{
"fieldType": "START_DATE",
"shown": true
},
{
"fieldType": "END_DATE",
"shown": true
},
{
"fieldType": "CREATED_DATE",
"shown": true
},
{
"fieldType": "UPDATED_DATE",
"shown": true
},
{
"fieldType": "PARTY_SIZE",
"shown": true
},
{
"fieldType": "FIRST_NAME",
"shown": true
},
{
"fieldType": "LAST_NAME",
"shown": true
},
{
"fieldType": "EMAIL",
"shown": true
},
{
"fieldType": "PHONE",
"shown": true
},
{
"fieldType": "ADDITIONAL_INFO",
"shown": true
},
{
"fieldType": "TEAM_MESSAGE",
"shown": true
},
{
"fieldType": "CUSTOM_FIELD",
"customFieldId": "2f84023b-1a1b-4311-8951-da19a23c4b10",
"shown": false
},
{
"fieldType": "CUSTOM_FIELD",
"customFieldId": "fa69341c-de2b-4287-ae61-249403785f60",
"shown": false
}
],
"tableManagement": {
"tableDefinitions": [
{
"id": "c215fb2a-0eb9-43d9-b7a7-8957e24c66e7",
"name": "Small table",
"seatsMin": 2,
"seatsMax": 4,
"isActive": false
},
{
"id": "32d26bf5-05ae-463b-b37a-596cd6263375",
"name": "Medium table",
"seatsMin": 2,
"seatsMax": 6,
"isActive": true
},
{
"id": "fccb04df-d22d-4832-ad34-2ac99d7a54e5",
"name": "Big table",
"seatsMin": 5,
"seatsMax": 8,
"isActive": true
}
],
"deletedTableDefinitions": [
{
"id": "f737be7b-b75e-444e-a250-276234ad522d",
"name": "Table",
"seatsMin": 2,
"seatsMax": 5,
"isActive": true
}
],
"tableCombinations": []
}
},
"default": true,
"archived": false
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.