Update contact
civicrm_update_contactUpdate specific fields on a single CiviCRM contact by ID using APIv4. Pass contact ID and key-value pairs for field updates, including custom fields via dot-notation.
Instructions
Update fields on a single CiviCRM contact by id. Requires CIVICRM_ALLOW_WRITES=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Contact id to update. | |
| values | Yes | APIv4 field → value map. Use dot-notation for custom fields, e.g. 'CustomGroup.field_name'. |