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 catalog is created.
Note: The webhook doesn't return information about the entities belonging to the catalog. You may need to create your own logic to retrieve the catalog's content.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.restaurants.catalogs.v3.catalog
.
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.restaurants.catalogs.v3.catalog_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": "75a4a502-dc0b-4bc0-9179-8dc3b89497ba",
"entityFqdn": "wix.restaurants.catalogs.v3.catalog",
"slug": "created",
"entityId": "4d088f16-d341-44b2-ac69-ae8f3e8897fd",
"createdEvent": {
"entity": {
"id": "4d088f16-d341-44b2-ac69-ae8f3e8897fd",
"locationId": "b4c9914f-c248-479f-ae9a-acaad4dc5f96",
"archived": false
}
},
"eventTime": "2022-01-16T16:48:19.355118Z",
"triggeredByAnonymizeRequest": false
}