v1
Update Patient
This endpoint updates a patient record in the Truepill ecosystem.<br/><br/>Upon a successful request, the endpoint returns the patient_token of the patient updated, the timestamp, the status, and a message.<br/><br/>Only non-required fields can be updated. Submitting a patient's first name, last name, date of birth, or gender as a field to be updated will be considered a bad request.
post/v1/patient/{patient_token}
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
patient_tokenstring required
Request body
Example request
{
"company": "True Pill",
"street1": "123 Some Lane",
"street2": "Apt. 123",
"city": "Los Angeles",
"state": "CA",
"zip": "94402",
"phone": "430-304-3949",
"email": "hulkout@hulk.com",
"ssn": "123456789",
"ssn_serial": "6789",
"language_preference": "English",
"viewed_notice_of_privacy_practices_date": "20180401"
}Response
Accepted
Example response
{
"patient_token": "a35be240f1f5da6b",
"timestamp": 1631571795,
"status": "success",
"details": {
"message": "Accepted: Patient a35be240f1f5da6b has been updated"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.