Create/Update Customer Records

This endpoint both creates and updates a customer’s record in the Yotpo system. Use this primarily to notify Yotpo when you add a customer manually in your admin, or a customer changes their email address.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

The identifier used to uniquely identify the customer in your system. Required if implementing a generic e-commerce integration.

string
required

The customer's email address.

string

The customer's first name.

string

The customer's last name.

string

The customer's phone number in E.164 format. e.g +14155552671

string

Only use if unable to send phone_number in full E.164 format. If phone_number is passed in full E.164 format with country_iso_code, this string will be ignored. Example: "US", "GB", i.e.

boolean

Whether the customer has an account with the eCommerce platform.

date

Date and time when the customer created an account with your store. The parameter can can be date only, or include the exact time as well.

boolean

Whether the customer should be opted in to loyalty program. If null, will rely on the account settings of opt in.

string

The Point of Sale unique account identifier. This parameter is used to integrate Yotpo with a Point of Sale interface and can be retrieved using the Fetch Customer Details endpoint.

string

A comma separated list of tags (or collections) this customer belongs to. Note: This will overwrite existing tags.

date

Date and time when the customer was opted in to the loyalty program.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json