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 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
.
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_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": "6be1f920-3773-4b33-a3da-c36f29e5245f",
"entityFqdn": "wix.bookings.resources.v2.resource",
"slug": "updated",
"entityId": "40435ea0-f5d3-448b-977a-2e3e365075e0",
"updatedEvent": {
"currentEntity": {
"id": "40435ea0-f5d3-448b-977a-2e3e365075e0",
"revision": "2",
"createdDate": "2024-11-25T15:45:16.540Z",
"updatedDate": "2024-11-25T15:53:54.620Z",
"name": "Room 2nd floor",
"typeId": "dd7790c7-f3ac-4821-accb-52ed385fd932",
"locationOptions": {
"availableInAllLocations": false,
"specificLocationOptions": {
"availableInBusinessLocations": true,
"businessLocations": [
{
"locationId": "7a02a881-9711-489a-9a37-eef331acff8e"
}
]
}
},
"eventsSchedule": {
"scheduleId": "354e9dbc-4005-4019-85c6-2c0dcdae198b"
}
}
},
"eventTime": "2024-11-25T15:53:54.736149543Z",
"triggeredByAnonymizeRequest": false,
"entityEventSequence": "2"
}