Retrieve a list of pharmacies for the prescriber.
API Reference
/- Get Prescriber's Pharmacies List
Create Pharmacy
Create a Prescription
Get a Prescription
Create Prescription with Patient
Get Prescriber
Get Prescriber's Pharmaci...
Hero Health Public API (1.0.0)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.herohealth.net/_mock/apis/public-api/openapi/
Staging
https://api.staging.htech.app/
Production
https://api.herohealth.net/
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/prescriber/{id}/pharmacies
- Staginghttps://api.staging.htech.app/v1/prescriber/{id}/pharmacies
- Productionhttps://api.herohealth.net/v1/prescriber/{id}/pharmacies
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/prescriber/{id}/pharmacies' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … } ], "count": 0 }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/pharmacies
- Staginghttps://api.staging.htech.app/v1/pharmacies
- Productionhttps://api.herohealth.net/v1/pharmacies
- curl
- NodeJS
- Ruby
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/pharmacies \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"name": "string",
"email": "string",
"mobile": "string",
"prescriber_id": "string"
}'Response
application/json
{ "id": "string", "prescriber_id": "string", "name": "string", "email": "string", "mobile": "string" }
Bodyapplication/jsonrequired
Enum"Baron""Baroness""Brigadier""Count""Colonel""Countess""Captain""Dame""The Dowager Viscountess""Dr"
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/prescriptions
- Staginghttps://api.staging.htech.app/v1/prescriptions
- Productionhttps://api.herohealth.net/v1/prescriptions
- curl
- NodeJS
- Ruby
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/prescriptions \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"patient": {
"id": "string",
"first_name": "string",
"last_name": "string",
"sex": "Not known",
"title": "Baron",
"dob": "2019-08-24T14:15:22Z",
"nhs_number": "string",
"email": "user@example.com",
"mobile": "string",
"address": {
"line1": "string",
"line2": "string",
"line3": "string",
"town": "string",
"county": "string",
"country": "string",
"postcode": "string"
}
},
"prescriber": {
"name": "string",
"code": "string",
"contact_number": "string",
"prescriber_id": "string"
},
"medicines": [
{
"name": "string",
"quantity": "string",
"directions": "string",
"snomed_code": "string"
}
],
"delivery": {
"issue_method": "messaging",
"send_sms": false,
"pharmacy_id": "string",
"invoice_clinic": true,
"delivery_address": {
"line1": "string",
"line2": "string",
"line3": "string",
"town": "string",
"county": "string",
"country": "string",
"postcode": "string"
}
},
"secure_pin": "string",
"notes": "string"
}'Response
application/json
{ "prescription_id": "string" }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/prescriptions/{id}
- Staginghttps://api.staging.htech.app/v1/prescriptions/{id}
- Productionhttps://api.herohealth.net/v1/prescriptions/{id}
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/prescriptions/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "id": "string", "external_prescription_id": "string", "status": "string", "signed_at": "2019-08-24T14:15:22Z", "notes": "string", "medicines": [ { … } ], "patient": { "id": "string", "first_name": "string", "last_name": "string" }, "prescriber": { "id": "string", "name": "string", "email": "user@example.com" } }
Bodyapplication/jsonrequired
Enum"Baron""Baroness""Brigadier""Count""Colonel""Countess""Captain""Dame""The Dowager Viscountess""Dr"
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v2/prescriptions
- Staginghttps://api.staging.htech.app/v2/prescriptions
- Productionhttps://api.herohealth.net/v2/prescriptions
- curl
- NodeJS
- Ruby
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v2/prescriptions \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"patient": {
"id": "string",
"first_name": "string",
"last_name": "string",
"sex": "Not known",
"title": "Baron",
"dob": "2019-08-24T14:15:22Z",
"nhs_number": "string",
"email": "user@example.com",
"mobile": "string",
"address": {
"line1": "string",
"line2": "string",
"line3": "string",
"town": "string",
"county": "string",
"country": "string",
"postcode": "string"
}
},
"prescriber": {
"name": "string",
"code": "string",
"contact_number": "string",
"prescriber_id": "string"
},
"medicines": [
{
"name": "string",
"quantity": "string",
"directions": "string",
"snomed_code": "string"
}
],
"delivery": {
"issue_method": "messaging",
"send_sms": false,
"pharmacy_id": "string",
"invoice_clinic": true,
"delivery_address": {
"line1": "string",
"line2": "string",
"line3": "string",
"town": "string",
"county": "string",
"country": "string",
"postcode": "string"
}
},
"secure_pin": "string",
"notes": "string"
}'Response
application/json
{ "prescription_id": "string" }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/prescriber/{id}
- Staginghttps://api.staging.htech.app/v1/prescriber/{id}
- Productionhttps://api.herohealth.net/v1/prescriber/{id}
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/prescriber/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Response
application/json
{ "id": "string", "email": "user@example.com", "full_name": "string", "tokens": "string", "active": true, "verified": true }