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