Actions35
- Order Actions
- Contact Actions
- Company Actions
- Files Actions
- Admin Actions
Contact → Update Contact
AI-generatedOverview
This node integrates with the Decogro API to update an existing contact's information. It allows users to specify the contact ID and provide a JSON body with the updated contact details. This operation is useful for maintaining accurate and up-to-date contact records in Decogro, such as changing a contact's name, email, phone number, or other relevant fields.
Use Case Examples
- Updating a contact's first name and email address to reflect recent changes.
- Modifying contact details to correct errors or add additional information like job title or notes.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the contact to update. |
| JSON Body | The JSON data containing the fields and values to update for the contact. |
Output
JSON
operation- The operation performed, e.g., 'updateContact'.data- The response data returned from the Decogro API after updating the contact.metadatamethod- The HTTP method used for the request, typically 'PATCH'.endpoint- The API endpoint used for the update request.timestamp- The timestamp when the operation was performed.
Dependencies
- Decogro API with an API key credential
Troubleshooting
- Ensure the contact ID provided exists in Decogro; otherwise, the update will fail with a not found error.
- Validate the JSON body format to avoid JSON parsing errors; invalid JSON will cause the node to throw an error.
- Check API key credentials and permissions to ensure the node can authenticate and has rights to update contacts.
- If the node throws an 'Unknown operation' error, verify that the operation parameter is correctly set to 'updateContact'.
Links
- Decogro API - Update Contact - Official Decogro API documentation for updating a contact.