Skip to main content
Read the customer’s profile with getProfile, and update their name and marketing consent with updateProfile. Both return the standard wrapped response shape.
To update the customer’s date of birth, use updateCustomerDob.

getProfile

Response

success
boolean
Whether the request was successful.
data.profile
object
The customer’s profile.

updateProfile

Parameters

firstName
string
required
The customer’s first name.
lastName
string
required
The customer’s last name.
acceptsMarketing
boolean
Whether the customer opts in to email marketing.

Response

success
boolean
Whether the update was successful.
data.profile
object
The updated profile (firstName, lastName).

Example: Profile form