Braze Event - Guest
This includes user create/update events triggered as they happen in the Punchh system. In case of a user update event, if Disable sending default user attributes to Braze is set to Yes, only the updated user attributes that have mappings in the Braze adapter are sent in the update event. For more information, see the Exclude User Profile Data From Custom Events section in Braze Webhooks Adapter Overview.
Note: Punchh sends guest events for users with the following statuses: active, banned, or deactivated. Guest events are not sent for deleted, anonymized, or archived users, as personally identifiable information (PII) is not stored once a guest is moved into these statuses.
{
"attributes": [
{
"last_name": "LAST_NAME_GOES_HERE",
"punchh_user_id": 18268,
"signup_channel": "MobileEmail",
"account_balance_total_point_credits": 0,
"email_subscribe": "subscribed",
"external_id": "EXTERNAL_ID_GOES_HERE",
"favourite_store_numbers": "",
"terms_and_conditions": false,
"account_balance_current_membership_level_name": "Silver Level",
"account_balance_net_balance": 0,
"confirmation_sent_at": "2021-08-16T15:01:46Z",
"referral_code": "REFERRAL_CODE_GOES_HERE",
"user_status": "active",
"account_balance_total_lifetime_points": 0,
"email": "test@example.com",
"push_subscribe": "subscribed",
"time_zone": "Asia/Kolkata",
"date_of_last_session": "2021-08-16T15:01:45Z",
"first_name": "FIRST_NAME_GOES_HERE",
"guest_type": "Loyalty",
"sms_subscription": false,
"account_balance_net_debits": 0,
"business_uuid": "BUSINESS_UUID_GOES_HERE",
"current_sign_in_at": "2021-08-16T15:01:45Z",
"date_of_first_session": "2021-08-16T15:01:45Z"
}
]
}
Response Parameters
| email_subscribe | String | Status of the user's email subscription |
| external_id | String | ID stored in Punchh against the external source |
| account_balance_current_membership_level_name | String | Name of the current membership level of a user |
| account_balance_net_balance | Float | Net available balance of the current account. This value always shows the available balance of the user whether visits, banked rewards, or points. |
| account_balance_total_lifetime_points | Float | Sum of all the loyalty points earned by a user from the time the user signed up (excluding expired points) |
| push_subscribe | String | Status of the user's push notification subscription |
| time_zone | String | Time zone of the user |
| date_of_last_session | Date_time | Most recent date and time when the user accessed the system |
| account_balance_net_debits | Float | Total points redeemed/donated/transferred by the user |
| current_sign_in_at | Date_time | Date and time when the user most recently logged into the system |
| date_of_first_session | Date_time | Date and time when the user first accessed the system |
| previous_changes | Array | Lists the specific user attributes that have been updated in a particular event within the Punchh system. For example, if the phone number and address are updated in the guest profile, the event triggered by this update may contain many different parameters in its payload, not just the ones that have been updated. However, previous_changes will only include the keys for the attributes that were updated -- in this case, "phone" and "address".When used with Disable sending default user attributes to Braze set to Yes, the parameter allows filtering out the unmodified parameters from the user update event payload and including only updated parameters before sending the payload to Braze. For more information, see the Exclude User Profile Data from Custom Events section in the Braze Webhooks Adapter Overview topic. |
See the table in the Response Parameters section in Event - Guest for descriptions of the remaining parameters.