put
https://api.vcita.biz/platform/v1/clients/merges/merge_clients
Overview
Merge two or more duplicate clients into one primary client.
Authentication
Available for Staff, App, and Directory tokens.
Query Parameters
to_client_uid(required): UID of the destination primary clientfrom_client_uids(required): Comma-separated UIDs of clients to merge into the primary client
Business Rules
- Clients must represent different contact persons to be merged
- Clients related to the same contact cannot be merged (returns 422 error)
- Use
GET /platform/v1/clients/merges/possible_merge_masterto check merge eligibility first
Request Body
The request body can be empty but must be sent (e.g., {}).
