Update a contact by lookup key
PATCH/contacts/:lookupKey/:lookupValue
Update existing contact person information using dynamic lookup keys with comprehensive field validation and partial update support for individual users within companies.
Key Features
- Dynamic Lookup Keys: Update contact persons by
id
orsourceId
+source
combination - Partial Updates: Only update the fields you provide, leaving other contact person fields unchanged
- Field Validation: Comprehensive validation for all personal information, contact details, and company relationships
- Flexible Updates: Support for updating personal details, communication preferences, and user authentication settings
- Error Handling: Clear error messages for invalid updates or missing contact persons
Request
Responses
- 200
- 400
- 404
Update a contact by lookup key - 200
Update a contact by lookup key - 400 (invalid schema)
Update a contact by lookup key - 404