Contacts

Update a contact

Changed on

Updates the given fields of a contact. Omitted fields are left untouched; sending null clears the field.

Tags are linked by id or name and must already exist in the workspace — unknown tags are ignored. Use PATCH /contacts/{contactId}/tags to create tags on demand.

patch/contacts/{contactId}

Request

Path parameters

contactIdstring uuid required

Request body

firstNamestring nullable
lastNamestring nullable
emailstring nullable
phonestring nullable
occupationstring nullable
genderstring nullable
birthdatestring nullable
agenumber nullable
notesstring nullable
customPropertiesobject

Values for the custom contact properties of the workspace, keyed by property name

Response

Contact updated successfully

Changes

    • breaking

      added the new path request parameter contactId

    • breaking

      request body became required

    • breaking

      request property list-of-types was narrowed by removing types integer from media type application/json

    • breaking

      added 'propertyNames' constraint to the request property

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the success response with the status

    • warning

      deleted the path request parameter contactId

    • info

      added the new optional request property

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property / list-of-types was widened by adding types number to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status