This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updated resource entity. 'resource.schedules' is deprecated and will not be returned. Please use 'resource.scheduleIds' instead.
Event type.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "com.wixpress.bookings.resources.core.api.v1.resource.ResourceNotification",
"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
}
}
}