The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

PATCH /contacts/v1/contacts

Updates contacts with the specified information in the specified attribute groups.

NameTypeDescription
contactKeystringRequiredPrimary address for the contact. You must provide either a value for contactKey or contactID.
contactIDstringRequiredUnique ID for the contact. You must provide either a value for contactKey or contactID.
attributeSetsarrayRequiredArray of information used to create a new contact
attributeSets.namestringRequiredName of attribute group to which to add the contact information
attributeSets.valuesarrayName and value pairs indicating the attribute and applicable value

Example Request

The provided HTTP verb for this call applies to all sets in the JSON request body.

Change @example.com to a valid domain.

Example Response