Add a will-call pickup
Any signed in user. Files a will-call pickup for the caller’s branch and returns the row. A blank patient name is refused, and the entry starts ready with the signature uncaptured.
POST
/api/v1/dispensing/will-callAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Request body
requiredapplication/jsonpatient_namestringrequiredpatient_phonestringbranch_idstringprescription_idstring | nullsale_idstring | nullResponses
201
Pickup filed
idstringrequiredbranch_idstringrequiredprescription_idstring | nullrequiredsale_idstring | nullrequiredpatient_namestringrequiredpatient_phonestringrequiredstatusstringrequiredsignature_capturedintegerrequiredmin -9007199254740991 · max 9007199254740991
picked_up_atstring | nullrequiredcreated_bystringrequiredcreated_atstringrequired400
patient_name is required
detailstringrequired401
Not authenticated
detailstringrequired