Virtual Pharmacies / Domains
To get the list of virtual pharmacies and domains you are authorized for, you can make the following call against the “bootstrap” URL.
curl -X 'GET' \
'https://bootstrap.swiftyrx.dev/api/swifty/1/virtual_pharmacies' \
-H 'accept: application/json' \
-H 'Authorization: Bearer ZbYQlivo27y537O89F074p2HfOh5A5'
An example response would be:
[
{
"domain": "acme.swiftyrx.dev",
"name": "Acme Drugs",
"pharmacy": {
"name": "OHIO INTAKE PHARMACY 2 LLC",
"ncpdp_id": "5755167",
"npi": "1578232120",
"other_organization_name": "Acme Pharmacy Services",
"other_organization_name_type": {
"code": "3",
"description": "DBA",
"uuid": "feb432cd-e4e0-4e5d-ab86-0a1e05488f46"
},
"uuid": "8fc319d7-d867-4b8c-a2d8-61c263c08831"
},
"uuid": "fdadfa8d-62f3-4216-a016-289d9480f13a"
},
{
"domain": "marvel.swiftyrx.dev",
"name": "Marvel Drugs",
"pharmacy": {
"google_place_id": "ChIJ509mc3dHQIgRkGA0b5dCbSI",
"name": "OHIO INTAKE PHARMACY LLC",
"ncpdp_id": "5755167-1",
"npi": "1295303840",
"uuid": "9131d685-41e2-4cc0-a409-286fdeb6683e"
},
"uuid": "1fc30984-ec4e-48fb-b62e-009edd15d488"
}
]
The returned domain field is what is then used in the Admin interface and API calls to access the tenant specific data.