Update an existing doctor’s profile. Only the fields included in the request body will be updated; all fields are optional.
Endpoint: {{HOST}}/cdr/v1/doctor/{doc_id}/
Method: PATCH
| Parameter | Type | Description | Required |
|---|---|---|---|
| doc_id | string | Doctor’s Eka ID | Yes |
The auth token of the business. It is used to authenticate the client. This should be fetched from auth api.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM"
Doctor's Eka ID
"do1769174683513"
Fields to update on the doctor profile. All fields are optional.
"Rajesh"
"Sharma"
"0000011111"
"dr.rajesh@example.com"
M, F, O "M"
"1999-01-01"
["Cardiology"]["MBBS", "MD"]"Updated bio"
"https://example.com/images/dr-rajesh.jpg"
Add these Eka clinic IDs to the doctor's existing clinic associations
["c-ab2c-34f2d-2gwd-2g2g"]Add clinics matching these partner IDs to the doctor's existing clinic associations
["Part_clinic_1"]"Part_doc"