Event - Business Migration Notification

This event is generated when a guest in the Awaiting Migration list signs up for the loyalty program and is successfully identified by the Punchh system. These events are triggered as they happen in the Punchh system based on configuration.

{
  "content_id": "CONTENT_ID_GOES_HERE",  
  "timestamp": 1619695600, 
  "business_id": 6,  
  "business_uuid": "BUSINESS_UUID_GOES_HERE",
  "business_slug": "slugname", 
  "event_name": " transactional_notifications", 
  "event_type": "business_migration_notification",
  "action": "create",
  "payload": {
    "first_name": "FIRST_NAME_GOES_HERE",
    "gifted_value": 90,
    "migrated_rewards_description": "10 redeemable rewards",
    "migrated_visit_count": "0 visits",
    "user": {
      "account_balance": {
       "banked_currency": null,
       "current_membership_level_name": "Silver Level",				
       "last_visit": "2023-04-29T11:05:39Z",				
       "loyalty_points": 93,				
       "net_balance": 95,				
       "net_debits": 0,				
       "pending_points": 20,				
       "total_credits": 95,				
       "total_debits": "0.0",				
       "total_lifetime_points": 95,			
       "total_point_credits": 95,				
       "total_redeemable_visits": null,				
       "total_visits": 4,				
       "unbanked_points": null,				
       "unredeemed_cards": null,				
       "user_id": 111111111
    },		
    "anniversary": "2000-01-01",			
    "avatar_remote_url": null,			
    "birthday": "1964-01-01",			
    "email": "test@example.com",
    "external_source": "",    
    "external_source_id": "SOURCE_ID_GOES_HERE",			
    "first_name": "FIRST_NAME_GOES_HERE",			
    "gender": "male",			
    "guest_type": "Loyalty",			
    "last_activity_at": "2023-04-29T11:05:52Z",			
    "last_name": "LAST_NAME_GOES_HERE",			
    "marketing_email_subscription": true,			
    "marketing_pn_subscription": true,			
    "phone": "1111111111",			
    "preferred_locale": "en",			
    "secondary_email": "test1@example.com",			
    "signup_channel": "MobileEmail",			
    "sms_subscription": false,			
    "unsubscribe_reason": null,			
    "unsubscribed": false,			
    "user_id": 111111111,			
    "user_status": "active"
  }
 }
}

Meta Fields

Meta Fields are common attributes such as content_id, timestamp, etc. that are returned in event responses, providing additional information about events. Click here to view the descriptions of the attributes.

Response Parameters

Payload
first_name String First name of the migrated user
gifted_value Integer Dollar value of any rewards that were migrated from an older loyalty program
migrated_rewards_description String Description of rewards that were migrated from an older loyalty program
migrated_visit_count String Total number of visits that were migrated from an older loyalty program
User Object See the user object in Event - Rewards Expiry Reminder
user.account_balance Object See the account_balance object in Event - Guest