User Input (Object)
- addressType: string
_line1 Address of the user
- ageType: boolean
_verified Whether age is verified or not. Possible values: true, false
- 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.
- anniversaryType: string
Anniversary of the user, in YYYY-MM-DD format
- birthdayenumconst:YYYY-MM-DD
Date of birth of the user, in YYYY-MM-DD format. This field gets updated in the database only if the user did not set it initially during sign-up. Due to fraud protections, guests are permitted to update their birthdays only once. Subsequent attempts to modify the birthday parameter using the API will fail. In such a case, even though the API returns a 200 response, the user's birthday is not updated in Punchh.
- businessType: string
_id ID of the business to which the user is added
- businessType: boolean
_migration _users Whether the user is a business migration user. Possible values: true, false
- cardType: string
_number Gift card number
- cityType: string
City where the user lives
- eclubType: array
_locations Favorite location of the user if the user is an eClub guest
- emailType: string
New email address of the user
- externalType: string
_source External source name (third-party IDP). Possible values for external_source are salesforce, customer_id, mparticle, azure, aws_cognito, auth0, and ext_idp. If you are using a different one, please reach out to your implementation manager to add a new value. The values are case-sensitive. This is a required parameter if you want to update the access token for an external IDP user.
- externalType: string
_source _id ID of the customer in the mentioned external source name (external_source), a unique identifier generated by the third-party IDP (GUID format). This is a required parameter if you want to update the access token for an external IDP user.
- firstType: string
_name First name of the user
- genderType: string
Gender of the user
- idType: number
ID that identifies 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. Possible values: true, false
- marketingType: boolean
_pn _subscription Whether the user has subscribed to marketing push notifications or not. Possible values: true, false
- oldType: number
_membership _no Old membership number from the incumbent loyalty program
- originalType: numberFormat: float
_points Value of points from the incumbent loyalty program
- passwordType: string
Password of the user's account
- passwordType: string
_confirmation Password re-typed by the user for confirmation
- phoneType: string
Phone number of the user
- preferredType: string
_locale Preferred locale of the user
- preferredType: array of integer
_location _ids Favorite location IDs 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: 1Custom profile fields to be updated. For details, see Updating Custom Profile Fields With the Punchh Platform API.
- secondaryType: string
_email Secondary email address of the user
- stateType: string
State where the user lives
- termsType: boolean
_and _conditions Whether the terms and conditions of a business have been accepted by the user or not. Possible values: true, false
- testType: boolean
_user Whether the user is allowed to switch the environment in the mobile application or not. Possible values: true, false
- titleType: string
Salutation as selected by the user. Possible values: Mr., Miss, Mrs., Ms., Dr., Rev.
- userType:
_relations _attributes 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.
- zipType: string
_code Zip code where the user lives
