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 resource type 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.resources.v2.resource_type
.
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.resources.v2.resource_type_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": "eb94c557-9599-482c-8b2c-bb1ebca6e140",
"entityFqdn": "wix.bookings.resources.v2.resource_type",
"slug": "deleted",
"entityId": "32883beb-d747-4e61-8a74-1f1f43a7d11d",
"deletedEvent": {
"movedToTrash": true
},
"eventTime": "2024-11-27T16:21:39.268557862Z",
"triggeredByAnonymizeRequest": false,
"entityEventSequence": "12"
}