Triggered when an earning rule is deleted.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.loyalty.v1.loyalty_earning_rule
.
Event name. Expected deleted
.
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.loyalty.v1.loyalty_earning_rule_deleted",
"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": "79e98s2a-d8j4-4a3b-a62f-7393757bab84",
"entityFqdn": "wix.loyalty.v1.loyalty_earning_rule",
"slug": "deleted",
"entityId": "5bf5cb44-87rt-4933-1234-1d8423636a74",
"deletedEvent": {},
"eventTime": "2023-09-11T14:58:22.481838Z",
"triggeredByAnonymizeRequest": false,
"entityEventSequence": "1"
}