Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.bookings.catalog.v1.service_options_and_variants
.
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.catalog.v1.service_options_and_variants_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": "1c14fdca-9b35-4c09-ae60-d1fc4c00df0f",
"entityFqdn": "wix.bookings.catalog.v1.service_options_and_variants",
"slug": "updated",
"entityId": "1597eb06-dc2e-4f69-a73c-df0bcbbf04bd",
"updatedEvent": {
"currentEntity": {
"id": "1597eb06-dc2e-4f69-a73c-df0bcbbf04bd",
"serviceId": "7c2609bb-1c22-4231-b80a-eb6dceada32f",
"options": {
"values": [
{
"id": "85ad3b32-e324-4af1-95d6-746f2a8a4019",
"type": "CUSTOM",
"customData": {
"name": "Client Type",
"choices": ["Adult", "Child", "Student"]
}
}
]
},
"variants": {
"values": [
{
"choices": [
{
"optionId": "85ad3b32-e324-4af1-95d6-746f2a8a4019",
"custom": "Adult"
}
],
"price": { "value": "15", "currency": "EUR" }
},
{
"choices": [
{
"optionId": "85ad3b32-e324-4af1-95d6-746f2a8a4019",
"custom": "Child"
}
],
"price": { "value": "5", "currency": "EUR" }
},
{
"choices": [
{
"optionId": "85ad3b32-e324-4af1-95d6-746f2a8a4019",
"custom": "Student"
}
],
"price": { "value": "10", "currency": "EUR" }
}
]
},
"minPrice": { "value": "5", "currency": "EUR" },
"maxPrice": { "value": "15", "currency": "EUR" },
"revision": "2"
}
},
"eventTime": "2022-09-08T10:48:17.575396Z",
"triggeredByAnonymizeRequest": false
}