PATCH

Update Contact


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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Members and Contacts - all permissions
Manage Contacts
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/contacts/v4/contacts/{contactId}

Errors
400Invalid Argument

There are 4 errors with this status code:

404Not Found

There is 1 error with this status code:

409Already Exists

There are 2 errors with this status code:

428Failed Precondition

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Event TriggersThis method triggers the following events:
Did this help?