Updates an existing contact person.
Endpoint
PATCH /clients/{clientId}/contact-persons/{contactPersonId}Authentication
Required: Authorization header with valid token
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| clientId | UUID | Yes | Unique identifier of the client |
| contactPersonId | UUID | Yes | Unique identifier of the contact person |
Request Body
All fields are optional. Only include fields you want to update.
{
"name": "string",
"jobTitle": "string",
"department": "string",
"email": "string",
"phone": "string",
"mobile": "string",
"isMain": "boolean",
"externalId": "string"
}Fields description see here: Contact Persons Model
Response
Success (200)
Returns the updated contact person object.
Schema: Contact Persons Model
Error (400)
Schema: Error Response DTO
Example Usage
curl -X PATCH "https://integration-api.ram.syniotec.com/master-data/v1/client-management/clients/75f18aa7-b0aa-4d2c-b104-b513bec82a5f/contactPersons/223e4567-e89b-12d3-a456-426614174001" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"jobTitle": "Senior Project Manager",
"mobile": "+1234567899"
}'