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 updated.
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 updated
.
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_updated",
"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": "a5277ada-60d9-4538-8495-6b955a94df2d",
"entityFqdn": "wix.bookings.resources.v2.resource_type",
"slug": "updated",
"entityId": "32883beb-d747-4e61-8a74-1f1f43a7d11d",
"updatedEvent": {
"currentEntity": {
"id": "32883beb-d747-4e61-8a74-1f1f43a7d11d",
"revision": "2",
"createdDate": "2024-11-27T16:15:05.563Z",
"updatedDate": "2024-11-27T16:18:50.149Z",
"name": "Laptop Windows",
"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97"
}
},
"eventTime": "2024-11-27T16:18:50.185050444Z",
"triggeredByAnonymizeRequest": false,
"entityEventSequence": "2"
}