Update a patient's ZAP subscription package with one API call
10 months ago by Brian Marentay
It's now easier than ever to update a patient's ZAP subscription package. The ZAP data subscriptions api will now accept a PATCH
request to update practitioner or package details.
PATCH /zap-data-subscriptions/enrollment-statuses/{{patient_id}}:{{current_package_id}} HTTP/1.1
Host: zap-data-subscriptions.zusapi.com
Content-Type: text/plain
Authorization: Bearer {{token}}
{
"data": {
"attributes": {
"practitioner": {
"name": "{{practitioner_name}}",
"npi": "{{practitioner_npi}}",
"role": "{{practitioner_role}}"
}
},
"relationships": {
"package": {
"data": {
"type": "zap-data-subscriptions/package",
"id": "{{new_package_id}}"
}
}
}
}
}