Triggered when a booking policy is deleted.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.bookings.v1.booking_policy
.
Event name. Expected deleted
.
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.v1.booking_policy_deleted",
"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": "8586601e-f026-4a36-8a96-096a9b921762",
"entityFqdn": "wix.bookings.v1.booking_policy",
"slug": "deleted",
"entityId": "9df554d4-d722-4326-88bc-12520133e4b0",
"deletedEvent": {
"movedToTrash": true
},
"eventTime": "2023-02-16T12:21:00.824983Z",
"triggeredByAnonymizeRequest": false
}