Triggered when a badge is updated.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.badges.v3.badge
.
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.badges.v3.badge_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
}
}
}
{
"entityId": "16393a50-ed14-49f0-94f0-1251a5a9a7e1",
"slug": "updated",
"id": "ad44d246-fb85-41ce-9f32-00ccc3e592c7",
"entityFqdn": "wix.badges.v3.badge",
"updatedEvent": {
"currentEntity": {
"backgroundColor": "#FF6EF1",
"description": "New Badge Test",
"textColor": "#FFFFFF",
"slug": "professional",
"id": "16393a50-ed14-49f0-94f0-1251a5a9a7e1",
"permissionsEnabled": false,
"title": "Professional",
"updatedDate": "2022-09-21T03:51:38.364Z",
"createdDate": "2022-09-19T10:10:10.209Z"
}
},
"eventTime": "2022-09-21T03:51:38.454882Z",
"triggeredByAnonymizeRequest": false
}