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
boolean
Whether the request was successful.
object
The customer’s profile.
updateProfile
Parameters
string
required
The customer’s first name.
string
required
The customer’s last name.
boolean
Whether the customer opts in to email marketing.
Response
boolean
Whether the update was successful.
object
The updated profile (
firstName, lastName).