Updates a member's properties.
Only the requested fields are updated.
To clear a field's value, set an empty value with an empty string ""
.
Note:
Updating the contact.addresses
, contact.emails
, or contact.phones
array overwrites the entire array, so any existing values you want to retain must be passed in the updateMember()
call along with the new values to add.
However, passing an empty array will have no effect, and these functions must be used to clear all data from the respective array:
contact.addresses
, use deleteMemberAddresses()
.contact.emails
, use deleteMemberEmails()
.contact.phones
, use deleteMemberPhones()
.Note: Only logged-in members can call this function without elevated permissions. To call this function as a different identity, elevated permissions are required.
Member ID.