Triggered when a collection is changed.
Collection ID (generated automatically by the catalog).
List of collection fields that were changed.
Information about the version of the catalog from where this event was triggered.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "com.wix.ecommerce.catalog.api.v1.CollectionChanged",
"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
}
}
}
{
"collectionId": "6547efe0-3dc4-bd30-3042-c71427ff2589",
"changedFields": ["name"]
}