Triggered when a member's badge is removed.
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 badge_unassigned
.
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_badge_unassigned",
"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",
"actionEvent": {
"body": {
"memberId": "f1654c62-53b4-43d5-b01b-acbf782dee6f"
}
},
"slug": "badge_unassigned",
"id": "9b5a5227-dc05-45a4-bc41-9756e1f12448",
"entityFqdn": "wix.badges.v3.badge",
"eventTime": "2022-09-21T03:33:14.808072Z",
"triggeredByAnonymizeRequest": false
}