This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when an item is added to a category.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.categories.v1.category
.
Event name. Expected item_added_to_category
.
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.categories.v1.category_item_added_to_category",
"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": "8b764e0b-c8da-4da7-b1af-2297b6db859f",
"entityFqdn": "wix.categories.v1.category",
"slug": "item_added_to_category",
"entityId": "05f9cc2f-b5df-4287-aa32-3314179192b8",
"actionEvent": {
"bodyAsJson": {
"categoryId": "05f9cc2f-b5df-4287-aa32-3314179192b8",
"addedItem": {
"catalogItemId": "babd2bcc-ea03-4b63-8053-0ec59c73fc36",
"appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e"
},
"treeReference": {
"appNamespace": "@wix/stores"
}
}
},
"eventTime": "2024-06-27T09:23:55.967722889Z",
"triggeredByAnonymizeRequest": false
}