Customer object
Reference for the customer object in the JavaScript SDK.
Unique identifier for the customer in Smile.
304169228
The customer's first name.
"Jane"
The customer's last name.
"Doe"
The customer's email address.
"jane@doe.com"
The customer's state in the loyalty program. Possible values:
candidate- An individual that has not yet joined the loyalty program. Depending on program settings, they may or may not earn points.member- An active loyalty program participant.disabled- An individual that has been excluded from the program and cannot earn or redeem rewards.
"member"
The customer's birthday. A year value of 1004 means only the customer's birth day and month is available.
"1004-05-27"
The customer's unique referral URL. Used to share with friends as part of the referral program.
"http://i.refs.cc/9qr5Pw"
The date and time when the customer was created.
"2024-04-04T15:10:42.030Z"
The date and time when the customer was last updated.
"2024-04-04T15:10:42.030Z"