Actions28
Contact → Update
AI-generatedOverview
This node updates an existing contact in the Dolibarr system using the Dolibarr API. It is useful for scenarios where you need to modify contact details such as name, email, address, phone numbers, and other custom attributes. For example, you can update a contact's email address or add a job position to an existing contact record.
Use Case Examples
- Updating a contact's last name and email address.
- Setting a contact's job position and phone numbers.
- Adding or modifying extra custom fields for a contact.
Properties
| Name | Meaning |
|---|---|
| Contact ID | The unique identifier of the contact to update. This is required to specify which contact record to modify. |
| Values | A collection of contact fields to update, such as last name, first name, third-party association, civility, job position, email, address, phone numbers, birthday, and flags like private or birthday alert. |
| Extra Fields | Additional custom attribute fields for the contact, allowing users to specify field names and values dynamically. |
| Fields | Other contract fields that can be assigned, allowing for flexible data input. |
| Request Options | Settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout duration. |
Output
JSON
id- The unique identifier of the updated contact.lastname- The updated last name of the contact.firstname- The updated first name of the contact.email- The updated email address of the contact.address- The updated address of the contact.phone_pro- The updated business phone number of the contact.phone_mobile- The updated mobile phone number of the contact.birthday- The updated date of birth of the contact.priv- Indicates if the contact is marked as private (1 for true, 0 for false).
Dependencies
- Dolibarr API
- An API key credential for Dolibarr
Troubleshooting
- Ensure the Contact ID is valid and exists in the Dolibarr system to avoid 'not found' errors.
- Verify that the API credentials are correctly configured and have sufficient permissions to update contacts.
- Check the format of fields such as email and URLs to avoid validation errors.
- If SSL issues occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate configuration.
Links
- Dolibarr API Documentation - Official documentation for Dolibarr API endpoints and usage.