Pharmacy transfer
Move a prescription from one pharmacy to another.
POST/v1/actions
typepharmacy_transfer
Input
patientobjectRequiredWho the prescription is for.
refstringRequiredYour ID for the patient. Vene uses it to match callbacks. Up to 255 characters.
first_namestringRequiredAs the place has it on file. Up to 120 characters.
last_namestringRequiredAs the place has it on file. Up to 120 characters.
date_of_birthdateRequiredPlaces check it with the name.
prescriptionobjectRequiredSend
rx_numberwhen you have it.drug_namestringRequiredSuch as
lisinopril. Up to 255 characters.strengthstringSuch as
10 mg. Up to 64 characters.formstringSuch as
tablet. Up to 64 characters.quantityintegerUnits in the fill. 1 to 10,000.
rx_numberstringThe pharmacy's number for it. Makes every call faster. Up to 64 characters.
prescriberobjectWho wrote it.
first_namestringRequiredThe clinician's first name. Up to 120 characters.
last_namestringRequiredThe clinician's last name. Up to 120 characters.
credentialstringSuch as
MDorNP. Up to 32 characters.npistringThe clinician's NPI. The surest way to find the office. 10 digits.
specialtystringSuch as
cardiology. Up to 120 characters.practiceobjectWhere the patient is seen.
namestringSuch as
Oakland Heart Center. Up to 255 characters.addressobjectRequiredline1stringRequiredStreet address. Up to 255 characters.
line2stringSuite or unit. Up to 255 characters.
citystringRequiredUp to 120 characters.
statestringRequiredSuch as
CA. Two-letter state code.postal_codestringRequiredFive-digit ZIP code. 5 digits.
phonestringA hint. Vene checks the number before it dials. E.164 phone number.
from_pharmacyobjectRequiredWhere it is now.
namestringRequiredSuch as
CVS Pharmacy. Up to 255 characters.addressobjectRequiredThe exact store.
line1stringRequiredStreet address. Up to 255 characters.
line2stringSuite or unit. Up to 255 characters.
citystringRequiredUp to 120 characters.
statestringRequiredSuch as
CA. Two-letter state code.postal_codestringRequiredFive-digit ZIP code. 5 digits.
npistringThe pharmacy NPI. 10 digits.
phonestringA hint. Vene checks the number before it dials. E.164 phone number.
to_pharmacyobjectRequiredWhere it should go. Vene calls this one.
namestringRequiredSuch as
CVS Pharmacy. Up to 255 characters.addressobjectRequiredThe exact store.
line1stringRequiredStreet address. Up to 255 characters.
line2stringSuite or unit. Up to 255 characters.
citystringRequiredUp to 120 characters.
statestringRequiredSuch as
CA. Two-letter state code.postal_codestringRequiredFive-digit ZIP code. 5 digits.
npistringThe pharmacy NPI. 10 digits.
phonestringA hint. Vene checks the number before it dials. E.164 phone number.
insuranceobjectThe receiving pharmacy usually asks for it.
payer_namestringRequiredUp to 255 characters.
plan_namestringUp to 255 characters.
member_idstringRequiredFrom the card. Up to 64 characters.
group_numberstringFrom the card. Up to 64 characters.
rx_binstringPharmacy BIN from the card. Up to 32 characters.
rx_pcnstringPharmacy PCN from the card. Up to 32 characters.
rx_groupstringPharmacy group from the card. Up to 64 characters.
Returns
The action, with this result once it ends.
summarystringWhat happened, in a sentence or two. Up to 2,000 characters.
failure_reasonenum, nullableWhy it failed. Null unless
failed.Possible values
patient_authorization_requiredThe place needs the patient herself to authorize it.place_would_not_helpThe place would not discuss it with Vene.place_unreachableClosed, never answered, or no working number.declined_by_youYou declined something the action needed.fee_over_maxThe fee was overmax_fee. The result names it.internal_errorA Vene fault.
next_stepstring, nullableWhat you could do next. Up to 1,000 characters.
transfer_statusenum, nullableWhere the transfer stands.
Possible values
completedThe receiving pharmacy has it.in_progressRequested, not received yet.refusedRefused. Seerefusal_reason.
ready_attimestamp, nullableWhen the new pharmacy will have it ready.
new_rx_numberstring, nullableThe new pharmacy's number for it. Up to 64 characters.
refusal_reasonenum, nullableWhy it was refused.
Possible values
controlled_substanceControlled substances cannot be transferred this way.no_refills_remainingNo refills are left.transfer_limit_reachedThe prescription was already transferred the allowed number of times.otherAnother reason.
Questions
inputtextnumberbooleandatechoice
Calls
ask_pharmacy_to_transfer_prescription
Errors
400invalid_requestThe body or query failed validation.
401unauthorizedThe API key is missing, unknown, or revoked.
403forbiddenThe key lacks the scope.
409idempotency_conflictThe key was used with a different body.
429rate_limitedOver a limit. Wait for
Retry-After.500internal_errorA Vene fault.