mParticle Event - Rewards
This includes user rewards gifted/issued events triggered as they happen in the Punchh system based on configuration or activity.
{
"source_request_id": null,
"events": [
{
"data": {
"custom_event_type": "other",
"event_name": "rewards",
"custom_attributes": {
"becomes_available_at": "2021-05-14T07:04:44-07:00",
"created_at": "2021-05-14T14:04:44Z",
"description": "",
"discount_amount": "2.00",
"discount_channel": "all",
"event_action": "create",
"event_name": "rewards",
"event_type": "",
"gift_reason": "Support Activity",
"gifted_for_id": "317",
"gifted_for_type": "FeedbackReply",
"meta_data": "",
"name": "$2.0 OFF",
"redeemable_created_at": "2021-04-21T10:31:41Z",
"redeemable_id": "59",
"reward_id": "4647",
"reward_image_url": "IMAGE_URL_GOES_HERE",
"reward_points_redeemed": "100.00",
"status": "unredeemed",
"updated_at": "2021-05-14T14:04:44Z"
}
},
"event_type": "custom_event"
}
],
"user_attributes": {
"Punchh_account_balance_current_membership_level_name": "Gold",
"Punchh_account_balance_loyalty_points": "0",
"Punchh_account_balance_net_balance": "225",
"Punchh_account_balance_net_debits": "0",
"Punchh_account_balance_pending_points": "0",
"Punchh_account_balance_total_credits": "225",
"Punchh_account_balance_total_debits": "0.0",
"Punchh_account_balance_total_lifetime_points": "225",
"Punchh_account_balance_total_point_credits": "225",
"Punchh_account_balance_total_visits": "0",
"Punchh_birthday": "1987-05-04",
"Punchh_business_id": "6",
"Punchh_email": "test@example.com",
"Punchh_first_name": "FIRST_NAME_GOES_HERE",
"Punchh_gender": "male",
"Punchh_guest_type": "Loyalty",
"Punchh_last_activity_at": "2021-05-07T14:05:14Z",
"Punchh_last_name": "LAST_NAME_GOES_HERE",
"Punchh_marketing_email_opt_in": "True",
"Punchh_marketing_email_subscription": "True",
"Punchh_marketing_pn_opt_in": "True",
"Punchh_marketing_pn_subscription": "True",
"Punchh_preferred_locale": "",
"Punchh_secondary_email": "test01@example.com",
"Punchh_signup_channel": "MobileEmail",
"Punchh_sms_subscription": "False",
"Punchh_unsubscribed": "False",
"Punchh_user_id": "5880",
"Punchh_user_status": "active",
"Punchh_address": "ADDRESS_GOES_HERE",
"Punchh_city": "CITY_GOES_HERE",
"Punchh_confirmation_sent_at": "2021-05-12T15:45:25Z",
"Punchh_created_at": "2021-05-07T14:05:14Z",
"Punchh_current_sign_in_at": "2021-05-07T14:05:14Z",
"Punchh_current_sign_in_ip": "10.77.29.94",
"Punchh_joined_at": "2021-05-07T14:05:14Z",
"Punchh_last_sign_in_at": "2021-05-07T14:05:14Z",
"Punchh_last_sign_in_ip": "10.77.29.94",
"Punchh_last_user_agent": "MyRewards/2.0/2 (x86_64; iOS 10.3; Scale/2.00)",
"Punchh_referral_code": "REFERRAL_CODE_GOES_HERE",
"Punchh_state": "STATE_GOES_HERE",
"Punchh_terms_and_conditions_opt_in": "True",
"Punchh_updated_at": "2021-05-12T15:45:25Z",
"Punchh_zip_code": "302012",
"Punchh_unsubscribe_reason": "Deactivated by Admin (superadmin1@example.com)"
},
"deleted_user_attributes": null,
"user_identities": {
"email": "test@example.com"
},
"environment": "development",
"ip": "",
"integration_attributes": null,
"source_info": {
"channel": "partner",
"partner": "Punchh",
"replay_request_id": null,
"replay_job_id": null,
"is_historical": false
}
}
Response Parameters
| Events | ||
|---|---|---|
| data.custom_attributes.event_action | String | Operation associated with the event (e.g., create/update/delete for user, POS/console/online for check-ins, etc.) |
| data.custom_attributes.event_name | String | Name of the event, such as user, check-ins, redemption, etc. |
| data.custom_attributes.event_type | String | Type of the event (e.g., gift or loyalty for check-ins, etc.) |
See the table in the Response Parameters section of Event - Rewards for descriptions of the parameters in the custom_attributes object.
See the table in the Response Parameters section of mParticle Event - Guest for descriptions of the parameters in the user_attributes object.