updateCustomerDob
Update a logged-in customer's date of birth.
RivoJS.updateCustomerDob(dob).then(function(resp){
console.log(resp)
});
Parameters
Parameter | Type | Description |
---|---|---|
dob | String | The customer's date of birth, formatted as a string ('MM-DD') |
Note: The date of birth must be provided in the following format: 'MONTH-DAY'. For example, '07-29'
for the 29th of July.
Response
The function returns a Promise that resolves with an object. If the operation was successful, the success property of the returned object will be true.
Sample response
{"success":true}
Updated over 1 year ago