About customers

Sync your store customers to Yotpo, to be used as contacts for messaging. This includes information about your shop's customers such as their contact details, their order history, and whether they've agreed to receive marketing messaging.

Good to know

  • While you can create your customers explicitly using the below endpoints, in certain scenarios customer records can also be enriched implicitly by Yotpo after interacting with a customer. For example, Yotpo will automatically enrich customer records for shoppers who reviewed a product or engaged with Loyalty features.
  • To manage subscriptions for various types of messaging, for example, review requests, dedicated endpoints should be used.

Customer endpoints

Customer properties

Listed below are all of the available properties for customers. To see which properties are required per endpoint, refer to the endpoint pages below.

General customer properties

Field

Type

Description

external_id

string

A unique customer identifier. This ID will be used to identify the customer in our database, it is used for creating profiles, attributing events to profiles, and merging profiles. If you don’t have a unique identifier for the customer, avoid using this property. If you’re using Shopify as your eCommerce platform, please use the Shopify customer ID.

email

string

The email address of the customer.

phone_number

string

The phone number of the customer in E.164 format.

first_name

string

The first name of the customer.

last_name

string

The last name of the customer.

gender

string

Valid values:

  • F (Female)
  • M (Male)
  • Other

account_created_at

datetime

The date the account was originally created in the store. Must be in ISO 8601 format.

account_updated_at

datetime

The timestamp when the customer's account was last updated. Must be in ISO 8601 format (in UTC).

account_status

string

The status of the store account.
Valid values:

  • enabled
  • disabled
  • invited
  • declined

default_language

string

The default language of the customer's account in ISO 639-1 format.

default_currency

string

The default currency for this customer. Must be in ISO 4217 format. See currency codes

tags

string

A comma-separated string of tags. The merchant can later segment customers by tags.

address

object

The default address for this customer. See address object description

lists

array

An array of lists the customer belongs to, each containing an ID and a timestamp.

custom_properties

json

The custom customer properties that enrich the customer profile. For example, skin type, hair color, etc. For this parameter to populate with values in the response, it must be requested by adding the ‘include_custom_properties=true' query parameter.

Yotpo Reviews

FieldTypeDescription
yotpo_ugcobjectAn object containing the customer's user-generated content information
yotpo_ugc.total_reviewsintegerThe total number of reviews submitted by the customer
yotpo_ugc.avg_product_ratingintegerThe average product rating given by the customer
yotpo_ugc.avg_site_ratingfloatThe average rating of the site/store given by the customer
yotpo_ugc.total_avg_ratingfloatThe total average rating given by the customer (combining products and site/store ratings)
yotpo_ugc.sentiment_avg_sitedoubleThe total average sentiment score given by the customer (combining products and site/store scores). Learn more
yotpo_ugc.top_topicslistAn array of top topics (themes) mentioned in all of the customer's reviews
yotpo_ugc.last_star_ratingintegerThe star rating of the customer's last review
yotpo_ugc.last_review_datedatetimeThe timestamp for when the customer last submitted a review. ISO 8601 format (in UTC)
yotpo_ugc.last_sentimentdoubleThe sentiment score of the customer's last review

Yotpo Loyalty & Referrals

FieldTypeDescription
yotpo_loyaltyobjectAn object containing the customer's loyalty and referrals information
yotpo_loyalty.points_earnedintegerThe total number of loyalty points earned by the customer
yotpo_loyalty.points_balanceintegerThe current balance of loyalty points for the customer
yotpo_loyalty.last_seen_atdatetimeThe timestamp when the customer was last seen or engaged with the loyalty program. This includes making a purchase with your store. ISO 8601 format (in UTC)
yotpo_loyalty.total_redemptionsintegerThe total number of times the customer has redeemed loyalty points
yotpo_loyalty.total_points_redeemedintegerThe total number of loyalty points redeemed by the customer
yotpo_loyalty.vip_tier_namestringThe name of the customer's current VIP tier status (e.g., "Gold", "Silver", etc.)
yotpo_loyalty.successful_referralsintegerThe total number of successful referrals made by the customer
yotpo_loyalty.referrals_made_and_clickedintegerThe total number of referrals made by the customer and clicked on by others
yotpo_loyalty.is_referred_by_other_customerbooleanIndicates whether the customer was referred by another customer
yotpo_loyalty.points_expire_datedatetimeThe timestamp when the customer's loyalty points are set to expire. ISO 8601 format (in UTC)
yotpo_loyalty.credit_balance_amountintegerThe amount of store credit available to the customer in the default currency of the store
yotpo_loyalty.credit_balance_customer_currencystringThe store credit amount in the customer's preferred currency
yotpo_loyalty.is_opt_inbooleanIndicates whether the customer has opted into the loyalty program
yotpo_loyalty.opt_in_datedatetimeThe timestamp for when the customer opted into the loyalty program. ISO 8601 format (in UTC)
yotpo_loyalty.opt_out_datedatetimeThe timestamp for when the customer opted out of the loyalty program. ISO 8601 format (in UTC)
yotpo_loyalty.has_store_accountbooleanIndicates whether the customer has a store account
yotpo_loyalty.referred_by_customerstringThe email address of the customer who referred this customer to the loyalty program
yotpo_loyalty.vip_entry_datedatetimeThe timestamp for when the customer entered the VIP tier. ISO 8601 format (in UTC)
yotpo_loyalty.vip_expiration_datedatetimeThe timestamp for when the customer's VIP tier membership is set to expire. ISO 8601 format (in UTC)