v2

latestSwagger 2.02026-08-01720512.4 KB
Contacts

Update a contact

Update a contact

put/contacts/{contact_id}

Path parameters

contact_idnumber required

Query parameters

forceboolean

When force is false, the contact name is not updated if the provided name only matches the first part of the email address.

Request body

prefixstring

The contact name prefix.

firstnamestring

The contact first name.

middlestring

The contact middle name.

lastnamestring

The contact last name.

suffixstring

The contact name suffix.

emailstring

The contact email address.

rolestring

The contact role at their organization.

namestring

The full name of the contact.

ownernumber

The ID of the user who owns the contact.

picturestring

The profile picture URL of the contact.

accountnumber

The Salesflare ID of the account linked to this contact. If you explicitly pass null, any existing linked account is removed.

birth_datestring date-time

The contact birth date (ISO 8601 date-time).

opt-outboolean

Whether the contact has opted out of communications.

opt-out_datestring date-time

The date and time the contact opted out of communications (ISO 8601 date-time).

opt-out_campaignstring

The campaign from which the contact opted out.

bouncedboolean

Whether emails to this contact have bounced.

bounced_datestring date-time

The date and time emails to this contact bounced (ISO 8601 date-time).

filesobject[]

List of files associated with the contact.

tagsstring[]

List of tags associated with the contact.

phone_numberstring

The primary phone number of the contact.

mobile_phone_numberstring

The mobile phone number of the contact.

home_phone_numberstring

The home phone number of the contact.

fax_numberstring

The fax number of the contact.

social_profilesstring[]

List of social profiles associated with the contact.

customobject

Custom field values associated with the contact.

_dirtyboolean

Deprecated. This field is ignored.

archivedboolean

Response

Successful