This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a reservation location is updated.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.table_reservations.v1.reservation_location
.
Event name. Expected created
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.table_reservations.v1.reservation_location_created",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"entityId": "28bca9ee-e5b9-4081-9f45-a6dded8593a1",
"slug": "created",
"id": "1d034196-3347-4a66-988a-3f30d7e51b9d",
"createdEvent": {
"entity": {
"reservationLocation": {
"id": "28bca9ee-e5b9-4081-9f45-a6dded8593a1",
"revision": "1",
"createdDate": "2022-10-20T13:28:33.106Z",
"updatedDate": "2022-10-20T13:28:33.106Z",
"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": []
},
"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
}
],
"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": [],
"tableCombinations": []
}
},
"default": true,
"archived": false
}
}
},
"entityFqdn": "wix.table_reservations.v1.reservation_location",
"eventTime": "2022-10-20T13:28:33.106Z"
}