API Reference
- Getting Started
- Charges
- Invoices
- Items
- Patients
- Providers
- Roles
- Rules
- Webhooks
Patients
Patient Update
Update an existing Patient
.
PUT
/
v1
/
patient
/
update
/
{patient_id}
Copy
curl --request PUT \
--url https://api.decodahealth.com/v1/patient/update/{patient_id} \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '{
"address": "<string>",
"addressLineTwo": "<string>",
"addressValid": true,
"allergies": [
"<string>"
],
"city": "<string>",
"country": "<string>",
"dateOfBirth": "2023-12-25",
"email": "<string>",
"externalUserId": "<string>",
"familyHistory": [
"<string>"
],
"firstName": "<string>",
"gender": "MALE",
"lastName": "<string>",
"medicalHistory": [
"<string>"
],
"medications": [
"<string>"
],
"meta": {},
"optedOutOfSms": true,
"phoneNumber": "<string>",
"prescriptions": [
"<string>"
],
"state": "<string>",
"type": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"zipCode": "<string>"
}'
Copy
{
"address": "<string>",
"addressLineTwo": "<string>",
"addressValid": true,
"allergies": [
"<string>"
],
"city": "<string>",
"country": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"dateOfBirth": "2023-12-25",
"email": "<string>",
"externalUserId": "<string>",
"familyHistory": [
"<string>"
],
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"medicalHistory": [
"<string>"
],
"medications": [
"<string>"
],
"meta": {},
"optedOutOfSms": false,
"phoneNumber": "<string>",
"prescriptions": [
"<string>"
],
"state": "<string>",
"type": "<string>",
"zipCode": "<string>"
}
Headers
The tenant you are making this request on behalf of
Your api key
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Copy
curl --request PUT \
--url https://api.decodahealth.com/v1/patient/update/{patient_id} \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '{
"address": "<string>",
"addressLineTwo": "<string>",
"addressValid": true,
"allergies": [
"<string>"
],
"city": "<string>",
"country": "<string>",
"dateOfBirth": "2023-12-25",
"email": "<string>",
"externalUserId": "<string>",
"familyHistory": [
"<string>"
],
"firstName": "<string>",
"gender": "MALE",
"lastName": "<string>",
"medicalHistory": [
"<string>"
],
"medications": [
"<string>"
],
"meta": {},
"optedOutOfSms": true,
"phoneNumber": "<string>",
"prescriptions": [
"<string>"
],
"state": "<string>",
"type": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"zipCode": "<string>"
}'
Copy
{
"address": "<string>",
"addressLineTwo": "<string>",
"addressValid": true,
"allergies": [
"<string>"
],
"city": "<string>",
"country": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"dateOfBirth": "2023-12-25",
"email": "<string>",
"externalUserId": "<string>",
"familyHistory": [
"<string>"
],
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"medicalHistory": [
"<string>"
],
"medications": [
"<string>"
],
"meta": {},
"optedOutOfSms": false,
"phoneNumber": "<string>",
"prescriptions": [
"<string>"
],
"state": "<string>",
"type": "<string>",
"zipCode": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.