Get Extended User History

​

Query Parameters

  • User ID of the guest in the Punchh system

Headers

  • Bearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".

Responses

  • application/json
Request Example for get/api2/dashboard/users/extensive_timeline
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/dashboard/users/extensive_timeline \
  --header 'Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE'
{
  "title": null,
  "first_name": "FIRST_NAME_GOES_HERE",
  "last_name": "LAST_NAME_GOES_HERE",
  "email": "test@example.com",
  "phone": "1111111111",
  "address": null,
  "city": null,
  "state": null,
  "zip_code": null,
  "gender": null,
  "birthday": "1999-01-01",
  "anniversary": null,
  "secondary_email": null,
  "fb_uid": null,
  "time_zone": null,
  "signup_channel": "POS",
  "preferred_locale": null,
  "current_sign_in_ip": null,
  "last_user_agent": null,
  "referral_code": "REFERRAL_CODE_GOES_HERE",
  "invite_code": null,
  "created_at": "2019-12-06T14:01:15Z",
  "updated_at": "2020-02-05T22:28:00Z",
  "joined_at": "2019-12-06T14:01:15Z",
  "confirmation_sent_at": "2019-12-06T14:01:15Z",
  "confirmed_at": null,
  "current_sign_in_at": null,
  "last_sign_in_at": null,
  "last_activity_at": "2020-02-05T22:23:40Z",
  "sign_in_count": 0,
  "old_membership_no": null,
  "marketing_email_subscription": false,
  "marketing_pn_subscription": false,
  "sms_subscription": false,
  "age_verified": false,
  "banned": false,
  "terms_and_conditions": true,
  "unsubscribed": false,
  "unsubscribe_reason": "By User",
  "privacy_policy": false,
  "favorite_locations": [],
  "checkins": [
    {
      "checkin_type": null,
      "channel": null,
      "receipt_amount": null,
      "receipt_number": null,
      "receipt_date": null,
      "ip_address": null,
      "bar_code": "BARCODE_GOES_HERE",
      "created_at": "2019-12-06T14:01:15Z",
      "location_name": "ADDRESS_GOES_HERE"
    },
    {
      "checkin_type": null,
      "channel": null,
      "receipt_amount": null,
      "receipt_number": null,
      "receipt_date": null,
      "ip_address": null,
      "bar_code": null,
      "created_at": "2019-12-06T14:01:16Z",
      "location_name": "ADDRESS_GOES_HERE"
    },
    {
      "checkin_type": "PosCheckin",
      "channel": "POS",
      "receipt_amount": 35,
      "receipt_number": "16703",
      "receipt_date": "2020-02-05T22:22:58Z",
      "ip_address": "IP_ADDRESS_GOES_HERE",
      "bar_code": "BARCODE_GOES_HERE",
      "created_at": "2020-02-05T22:23:40Z",
      "location_name": "ADDRESS_GOES_HERE"
    }
  ],
  "redemptions": [
    {
      "type": "RedeemableRedemption",
      "internal_tracking_code": "5491336",
      "latitude": null,
      "longitude": null,
      "web": null,
      "channel": "Mobile",
      "ip_address": "IP_ADDRESS_GOES_HERE",
      "user_agent": "AHC/1.0",
      "status": null,
      "created_at": "2022-03-31T15:04:18Z",
      "location_name": "ADDRESS_GOES_HERE",
      "redeemable_name": "Original Buttermilk Short Stack "
    },
    {
      "type": "RewardRedemption",
      "internal_tracking_code": "5384002",
      "latitude": null,
      "longitude": null,
      "web": null,
      "channel": "Mobile",
      "ip_address": "IP_ADDRESS_GOES_HERE",
      "user_agent": "AHC/1.0",
      "status": null,
      "created_at": "2022-04-05T23:20:54Z",
      "location_name": "ADDRESS_GOES_HERE",
      "redeemable_name": "$0 Delivery Fee for Founders"
    },
    {
      "type": "RewardRedemption",
      "internal_tracking_code": "9764014",
      "latitude": null,
      "longitude": null,
      "web": null,
      "channel": "Mobile",
      "ip_address": "IP_ADDRESS_GOES_HERE",
      "user_agent": "AHC/1.0",
      "status": null,
      "created_at": "2022-04-06T17:04:23Z",
      "location_name": "ADDRESS_GOES_HERE",
      "redeemable_name": "$0 Delivery Fee for Founders"
    }
  ],
  "user_coupon_redemptions": [
    {
      "email": null,
      "status": "honored",
      "bar_code": null,
      "discount": null,
      "redeemed_menu_items": null,
      "transaction_no": null,
      "receipt_datetime": null,
      "receipt_amount": null,
      "subtotal_amount": null,
      "created_at": "2022-03-31T14:31:38Z",
      "location_name": "ADDRESS_GOES_HERE"
    },
    {
      "email": null,
      "status": "honored",
      "bar_code": null,
      "discount": null,
      "redeemed_menu_items": null,
      "transaction_no": null,
      "receipt_datetime": null,
      "receipt_amount": null,
      "subtotal_amount": null,
      "created_at": "2022-04-19T22:41:29Z",
      "location_name": "ADDRESS_GOES_HERE"
    }
  ],
  "user_devices": []
}