v1
latestOpenAPI 3.0.32026-07-26229361630.0 KBDoctor and clinic API
Update Doctor
Overview
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
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| doc_id | string | Doctor's Eka ID | Yes |
patch/cdr/v1/doctor/{doc_id}/
Path parameters
doc_idstring required
Example:do1769174683513
Doctor's Eka ID
Headers
authstring required
Example:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
The auth token of the business. It is used to authenticate the client. This should be fetched from auth api.
Request body
Example request
{
"firstname": "Rajesh",
"lastname": "Sharma",
"mobile": "0000011111",
"email": "dr.rajesh@example.com",
"gender": "M",
"dob": "1999-01-01",
"specialisations": [
"Cardiology"
],
"qualifications": [
"MBBS",
"MD"
],
"about": "Updated bio",
"profile_image_url": "https://example.com/images/dr-rajesh.jpg",
"clinic_ids": [
"c-ab2c-34f2d-2gwd-2g2g"
],
"partner_clinic_ids": [
"Part_clinic_1"
],
"partner_id": "Part_doc"
}Response
OK - Doctor updated successfully
Example response
{
"status": "success",
"ekaid": "do1769174683513"
}