v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
Update Patient Details API

Update Patient Details

Thi API provides functionality to update patient details for the registered patients.

patch/dr/v1/patient/{patient_id}

Path parameters

patient_idstring required

Query parameters

partner_idstring required
Example:1

If set to 1 then appointment_id in path parameter should be partner_appointment_id else eka apppointment_id

Headers

authstring required

The auth token of business_id. It is used to authenticate the business. The token can be fetched from the auth api.

Request body

OR

Example request

{
  "designation": "Mr.",
  "first_name": "Test",
  "last_name": "Patient",
  "gender": "M",
  "address": {
    "city": "Bangalore",
    "line1": "ABC",
    "line2": "XYZ",
    "pincode": 560049,
    "state": "Karnataka",
    "country": "India"
  },
  "partner_meta": {
    "key1": "value1"
  },
  "dob": "1987-01-06"
}

Response

OK

patient_idstring

Example response

{
  "patient_id": "123456789"
}