Triggered when a booking is canceled.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.bookings.v2.booking
.
Event name. Expected canceled
.
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.bookings.v2.booking_canceled",
"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
}
}
}
{
"id": "43d78076-b7ad-4953-87ca-56fa7bd4f4a7",
"entityFqdn": "wix.bookings.v2.booking",
"slug": "canceled",
"entityId": "4d5088e6-7cd4-40cf-8009-92ad4532965e",
"actionEvent": {
"body": {
"booking": {
"id": "4d5088e6-7cd4-40cf-8009-92ad4532965e",
"bookedEntity": {
"slot": {
"sessionId": "2mmoW0vwKcSFyxtOfCdKEIyLg0bUqDxC7n556fhwxXMJ2KYUozYnDSwEopLO4whwsCwU8S02FuOjsF9t4Xuud1pGGwLmQMZoWAP7",
"eventId": "65a5776e-37f1-45f7-8e4c-f22d01b23254",
"serviceId": "9bf5cd2d-32fa-4ee7-952c-5e4b6de14714",
"scheduleId": "5c32d307-1e48-489d-899e-bcfc92c9ffec",
"startDate": "2023-05-21T09:00:00.000+01:00",
"endDate": "2023-05-21T10:00:00.000+01:00",
"timezone": "Europe/Dublin",
"resource": {
"id": "5fa50f19-4c94-4c42-a72b-289505ba2028",
"name": "Tom Jones",
"email": "tom@example.com",
"scheduleId": "a4166c1f-728c-4895-8a6e-1942bb321315"
},
"location": {
"id": "9de094d5-8985-484e-9218-d020d9d17953",
"name": "Location Name",
"formattedAddress": "Location Address",
"locationType": "OWNER_BUSINESS"
}
},
"title": "In-person Appointment",
"tags": ["INDIVIDUAL"]
},
"contactDetails": {
"contactId": "aec9b576-5798-4f6d-bd93-d317418dc03d",
"firstName": "John",
"lastName": "Johnny",
"email": "john@example.com"
},
"additionalFields": [],
"numberOfParticipants": 1,
"status": "CANCELED",
"paymentStatus": "PAID",
"selectedPaymentOption": "MEMBERSHIP",
"createdDate": "2023-05-14T13:08:50.773Z",
"revision": "6",
"createdBy": {
"identityType": "UNKNOWN",
"memberId": "ce6a0249-aad3-4460-96a7-c38873e54ea8"
},
"startDate": "2023-05-21T08:00:00Z",
"endDate": "2023-05-21T09:00:00Z",
"updatedDate": "2023-05-16T15:13:32.520Z",
"totalParticipants": 1
},
"participantNotification": { "notifyParticipants": true },
"flowControlSettings": {
"ignoreCancellationPolicy": false,
"withRefund": true
},
"initiatedBy": {
"identityType": "UNKNOWN",
"memberId": "ce6a0249-aad3-4460-96a7-c38873e54ea8"
},
"previousStatus": "CONFIRMED"
}
},
"eventTime": "2023-05-16T15:13:32.617855Z",
"triggeredByAnonymizeRequest": false
}