Data for updating a risk notification.
| Name | Type | Description | Notes |
|---|---|---|---|
| entity | EntityEnum | The entity type to analyze within the given time frame. | |
| activity | ActivityEnum | The activity metric to analyze within the given entity. | |
| timeFrame | TimeFrameEnum | The rolling time window for risk evaluation. | |
| active | Boolean | Indicates whether this risk notification is active. |
| Name | Value |
|---|---|
| PROFILE | "customer_profile" |
| SESSION | "customer_session" |
| Name | Value |
|---|---|
| LOYALTY_POINTS_EARNED | "loyalty_points_earned" |
| DISCOUNTED_AMOUNT | "discounted_amount" |
| COMPLETED_ORDERS | "completed_orders" |
| COUPON_ATTEMPTS | "coupon_attempts" |
| Name | Value |
|---|---|
| _1D | "1D" |
| _7D | "7D" |
| _30D | "30D" |