mParticle Event - Gift Check-in
This includes user gift check-in events triggered as they happen in the Punchh system.
{
"source_request_id": null,
"events": [
{
"data": {
"product_action": {
"action": "checkout",
"checkout_step": 0,
"checkout_options": null,
"product_action_list": null,
"product_list_source": null,
"transaction_id": "26152",
"affiliation": null,
"total_amount": 0,
"tax_amount": 0,
"shipping_amount": 0,
"coupon_code": null,
"products": null
},
"event_name": "eCommerce - Checkout",
"custom_event_type": "checkout",
"custom_flags": {},
"timestamp_unixtime_ms": "1621000969546",
"event_id": "5398423805035559759",
"custom_attributes": {
"approved": "true",
"checkin_id": "26152",
"created_at": "2021-05-14T14:02:32Z",
"event_action": "create",
"event_name": "checkins",
"event_type": "gift",
"expiring_on": "2021-05-19",
"first_punchh_at_business": "false",
"first_punchh_at_location": "false",
"gift_reason": "Support Activity",
"gifted_by_id": "1",
"gifted_by_type": "Admin",
"gifted_for_id": "316",
"gifted_for_type": "FeedbackReply",
"location_id": "106",
"location_name": "ADDRESS_GOES_HERE",
"pending_refresh": "false",
"points_earned": "120",
"points_spent": "0",
"redemption_id": "0",
"status": "gift",
"store_number": "3478",
"updated_at": "2021-05-14T14:02:32Z"
},
"is_goal_defined": false,
"lifetime_value_change": 0,
"lifetime_value_attribute_name": null,
"data_connection_type": null,
"event_num": 0,
"view_controller": null,
"is_main_thread": null,
"canonical_name": null,
"event_system_notification_info": null
},
"event_type": "commerce_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": "Mi Road",
"Punchh_city": "Jaipur",
"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": "RohibEcy2177",
"Punchh_state": "Rajasthan",
"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,
"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 - Check-in - Gift and Loyalty 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.