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 created.
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 created
.
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_created",
"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": "14754b5a-7905-4b29-bff3-dd1c7a3071c0",
"entityFqdn": "wix.bookings.resources.v2.resource_type",
"slug": "created",
"entityId": "32883beb-d747-4e61-8a74-1f1f43a7d11d",
"createdEvent": {
"entity": {
"id": "32883beb-d747-4e61-8a74-1f1f43a7d11d",
"revision": "1",
"createdDate": "2024-11-27T16:15:05.563Z",
"updatedDate": "2024-11-27T16:15:05.563Z",
"name": "Laptop"
}
},
"eventTime": "2024-11-27T16:15:05.586954667Z",
"triggeredByAnonymizeRequest": false,
"entityEventSequence": "1"
}