User Info (Object)
Includes details about the users who are registered on a particular business
- accessType: string
_token Access token of the user that identifies the user making the API request
- addressType: string
_line1 Address of the user
- ageType: boolean
_verified Whether the age of the user is verified or not
- ageType: boolean
_verified _status Whether or not the user has undergone age verification. Possible Values: true, false. The value is set to true if the user's age is verified; otherwise, it is set to false. The response returns this parameter in sign-in, sign-up, and user update APIs if the age verification is enabled for the business in the Punchh platform. Contact your Punchh representative to update this Punchh platform configuration setting.
- allowType: boolean
_multiple Whether multiple check-ins are allowed for the user or not
- allowType: boolean
_push _notifications Whether the user has subscribed to receive push notifications or not
- anniversaryType: stringFormat: date
Anniversary date of the user, in YYYY-MM-DD format
- appleType: string
_pass _url URL that a user can use to download the user's associated loyalty Apple pass
- authenticationType: string
_token Authentication token of the user that identifies the user making the API request
- avatarType: string
_remote _url URL of the user's profile image uploaded to an online file storage system. This will be used for users who signed up using email.
- balanceType:Properties: 16
Contains information about the account balance of the user
- birthdayType: stringFormat: date
Date of birth of the user, in YYYY-MM-DD format
- cityType: string
City where the user lives
- communicableType: string
_email Email address used for communication with the user
- createdFormat: date-timeenum
_at const:YYYY-MM-DDThh:mm:ssZDate/time when the user was created in system, in ISO 8601 format
- discountType: string
_type The type of discount. The values can be redeemable, discount_amount, card_completion, redemption_code, fuel_reward, and subscription.
- emailType: string
Unique email address of the user
- emailType: boolean
_unsubscribe Whether the user has unsubscribed to email notifications or not
- emailType: boolean
_verified Whether the email address of the user has been verified or not
- expirationType: stringFormat: date
_date Last user inactivity date increased by inactive days set for the business. This value is returned only if "Account re-evaluation strategy" is set to Guest Inactivity. All other cases return a NULL value.
- facebookType: boolean
_signup Whether the user has a Facebook sign-up or not
- favouriteType: string
_locations List of the user's favorite locations
- favouriteType: string
_store _numbers List of store numbers of the user's favorite locations
- fbType: string
_uid Facebook ID that identifies the user
- firstType: string
_name First name of the user
- forceType: boolean
_password _reset Whether the password of the user matches the password policy set in the Punchh platform or not
- genderType: string
Gender of the user
- googleType: string
_pass _url URL that a user can use to download the user's associated loyalty Google pass
- idType: integer
Punchh ID of the user
- lastType: string
_name Last name of the user
- marketingType: boolean
_email _subscription Whether the user has subscribed to receive marketing emails or not
- marketingType: boolean
_pn _subscription Whether the user has subscribed to marketing push notifications or not
- migrateType: boolean
_status Whether the user has a migrate status or not
- passcodeType: boolean
_configured Whether the passcode has been configured or not
- phoneType: string
Phone number of the user
- preferredType: string
_locale Preferred locale of the user
- privacyType: boolean
_policy Whether the user has agreed to the privacy policy to use the app as per the configuration or not
- profileType: object
_field _answers Properties: 3Answers given by the user while filling in the user profile. The user submits answers to profile field questions that are configured in the Punchh platform. A total of 25 answers can be submitted. The keys range from 'upf0' to 'upf24'. If questions have multiple answers, the values should be separated by a | character (pipe).
- referralType: string
_code Referral code of the user
- referralType: string
_path Referral URL of the user
- rewardsType:Properties: 13
Contains information about the available rewards of the user. If a user account does not have rewards, the API returns an empty object in the response.
- secondaryType: string
_email The secondary email address of the user is configured when a user signs up with Facebook/Apple but does not share the email address. The app asks for an alternate email address, which is kept as the
secondary_email. - selectedType: string
_card _number This value is set only in single scan flow. This is the gift card that the user wants to use to make a payment. If this value is set, use it to make the payment for the order.
- selectedType: string
_discount _amount This value is set only in single scan flow. This is the discount amount that the user wants to redeem.
- selectedType: string
_reward _id This value is set only in single scan flow. This is the reward ID that the user wants to redeem.
- smsType: boolean
_subscription Whether the user has subscribed to SMS services or not
- stateType: string
State in which the user lives
- subscriptionsType:Properties: 3
Contains information about different subscriptions issued to the user. This object is returned when the subscriptions feature is available for the business. If a user does not have active subscriptions, the API returns an empty object in the response.
- termsType: boolean
_and _conditions Whether the terms and conditions of a business have been accepted by a user or not
- testType: boolean
_user Whether the user is allowed to switch the environment in the mobile application or not
- titleType: string
Title used for the user (e.g., Mr., Mrs., etc.)
- updatedFormat: date-timeenum
_at const:YYYY-MM-DDThh:mm:ssZDate/time when the user was updated in the system, in ISO 8601 format
- userType: string
_as _barcode Barcode that identifies the user
- userType: string
_as _qrcode QR code that identifies the user
- userType: string
_code A unique ID used to identify the user. This smaller code can be converted to a QR code in the app and scanned at POS systems that do not support longer codes. Alternatively, a user can provide this to the POS operator if the POS device does not have a scanner.
- userType: string
_id ID that identifies the user
- userFormat: date-timeenum
_joined _at const:YYYY-MM-DDThh:mm:ssZSign-up anniversary date of the user, in YYYY-MM-DDThh:mm:ssZ format
- userType:
_relations Properties: 4Contains information about the relationship details of a user, for example, spouse and kid information. If the user account does not have relationship details, the API returns an empty object in the response.
- workType: string
_zip _code Zip code of the user's office
- zipType: string
_code Zip code of the user
{
"address_line1": "",
"anniversary": null,
"avatar_remote_url": null,
"birthday": null,
"city": "",
"created_at": "2023-04-04T09:05:19Z",
"email": "test@example.com",
"email_verified": false,
"fb_uid": null,
"first_name": "FIRST_NAME_GOES_HERE",
"age_verified": false,
"privacy_policy": true,
"gender": "male",
"id": 111111111,
"last_name": "LAST_NAME_GOES_HERE",
"state": "",
"updated_at": "2023-09-12T05:39:28Z",
"zip_code": null,
"test_user": false,
"user_joined_at": "2023-04-04T09:05:19Z",
"balance": {
"banked_rewards": "2.00",
"membership_level": "Bronze",
"membership_level_id": 109,
"net_balance": 2,
"net_debits": 0,
"pending_points": 0,
"points_balance": 0,
"signup_anniversary_day": "04/04",
"total_credits": 15,
"total_debits": "0.0",
"total_point_credits": 15,
"total_redeemable_visits": 1,
"expired_membership_level": "Bronze",
"total_visits": 0,
"initial_visits": 1,
"unredeemed_cards": 0
},
"selected_card_number": null,
"selected_reward_id": null,
"selected_discount_amount": null,
"rewards": [
{
"id": 31300354648,
"created_at": "2023-10-01T18:05:42Z",
"end_date_tz": "2023-10-05T18:29:59Z",
"start_date_tz": "2023-10-01T18:05:42Z",
"updated_at": "2023-10-01T18:05:42Z",
"image": "IMAGE_URL_GOES_HERE",
"status": "unredeemed",
"points": 100,
"discount_amount": 10,
"description": "Free Sandwich with Purchase of Chips and Drink",
"name": "Free Sandwich with Purchase of Chips and Drink",
"redeemable_properties": ""
},
{
"id": 31300354654,
"created_at": "2023-10-01T18:05:42Z",
"end_date_tz": "2023-10-14T18:29:59Z",
"start_date_tz": "2023-10-01T18:05:42Z",
"updated_at": "2023-10-01T18:05:42Z",
"image": "IMAGE_URL_GOES_HERE",
"status": "unredeemed",
"points": 0,
"discount_amount": 10,
"description": "Free Drinks",
"name": "Welcome Series Free Gift",
"redeemable_properties": ""
}
],
"discount_type": null,
"allow_multiple": false,
"apple_pass_url": "APPLE_PASS_URL_GOES_HERE",
"google_pass_url": "GOOGLE_PASS_URL_GOES_HERE",
"authentication_token": "AUTHENTICATION_TOKEN_GOES_HERE",
"favourite_locations": "306082,333070,304374",
"favourite_store_numbers": "12345,0604,1234",
"marketing_email_subscription": true,
"marketing_pn_subscription": true,
"passcode_configured": false,
"profile_field_answers": {
"test1": "Option 1"
},
"referral_code": "REFERRAL_CODE_GOES_HERE",
"referral_path": "URL_GOES_HERE",
"secondary_email": "test@example.com",
"terms_and_conditions": false,
"title": "",
"user_as_barcode": "1111111",
"user_as_qrcode": "QR_CODE_GOES_HERE",
"user_code": "P11111111",
"user_id": 111111111,
"user_relations": [
{
"id": 111111111,
"relation": "spouse",
"name": "FIRST_NAME_GOES_HERE LAST_NAME_GOES_HERE",
"birthday": "1999-01-01",
"created_at": "2023-08-18T12:32:13Z",
"updated_at": "2023-08-18T12:32:13Z"
}
],
"work_zip_code": null,
"preferred_locale": "en",
"force_password_reset": null,
"expiration_date": null,
"sms_subscription": true,
"phone": "1111111111",
"migrate_status": false,
"email_unsubscribe": false,
"allow_push_notifications": true,
"facebook_signup": false,
"communicable_email": "test@example.com",
"access_token": "ACCESS_TOKEN_GOES_HERE",
"subscriptions": [
{
"plan_name": "free burger",
"pos_meta": "VIP subs",
"subscription_id": 123
}
]
}
