Updates a contact.
Each time the contact is updated,
revision
increments by 1.
The existing revision
must be included when updating the contact.
This ensures you're working with the latest contact information,
and it prevents unintended overwrites.
You can't call Update Contact to update the primaryEmail
of a contact who is also a member.
Instead, use the Members API to update the member's login email, which will also update the contact's primary email.
Members are typically linked to contacts, and while they share a relationship, the member ID and contact ID are distinct identifiers. Make sure to specifiy the contact ID when calling Update Contact.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
ID of the contact to update.
Contact info.
Revision number.
When updating, include the existing revision
to prevent conflicting updates.
Contact update options.
There are 4 errors with this status code.
There is 1 error with this status code.
There are 2 errors with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.