Skip to main content
PATCH
Edit a pharmacy fill

Authorizations

X-API-Key
string
header
required

Public API key: cxp_<hex> (firm-scoped) or cxpp_<hex> (provider-scoped). Required on every request.

Path Parameters

caseId
string<uuid>
required

Med case UUID: medCaseId in the referral.* webhook payload, or the id from GET /med-cases.

referralId
string<uuid>
required

Med referral UUID: the referral of this case to your pharmacy practice. Find it with GET /med-cases/{id}/referrals, or take it from the referral.* webhook payload.

fillId
string<uuid>
required

Pharmacy fill UUID

Body

application/json

Partial update: at least one field; omitted fields are unchanged. externalId and the void fields cannot be changed. A voided fill cannot be updated (409 fill_voided).

rxNumber
string
Required string length: 1 - 50
fillDate
string<date>

YYYY-MM-DD, a real calendar date.

ndc
string | null
drugName
string
Required string length: 1 - 500
quantity
string | null
Pattern: ^\d{1,9}(\.\d{1,3})?$
daysSupply
integer | null
Required range: 0 <= x <= 3650
prescriberName
string | null
Maximum string length: 300
billedAmount
string

Non-negative decimal string, e.g. "40.00".

Pattern: ^\d{1,10}(\.\d{1,2})?$
prescriptionId
string<uuid> | null
claimDocumentId
string<uuid> | null
notes
string | null
Maximum string length: 2000

Response

Updated fill

data
object
required

One dispensed prescription fill on a pharmacy referral. billedAmount is what the pharmacy billed for it.

meta
object
required