Download OpenAPI specification:Download
Welcome to the HealNow REST API Documentation. Using this API, you can leverage our on-demand pharmacy payments platform to get your prescriptions paid and delivered easily without the hassle of changing your team's workflow.
Here is the typical flow:
The Content-Type for POST and PUT requests can be set to application/x-www-form-urlencoded
,
multipart/form-data
, or application/json
.
You will have to replace ${apiKey} curl -H "Authorization: Bearer ${apikey}" -v https://api.healnow.io/v1/orders/${id}
with your specific API key.
List patient address records
patient_id required | string Example: dhOK9luFA6t7Wg5I Patient ID |
page | integer Example: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Example: per_page=20 Pagination page size |
{- "page": 0,
- "per_page": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "O9NGaN38CR4TK3s2",
- "street": "Mulholland Drive 1",
- "street2": null,
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
]
}
Create patient address record
patient_id required | string Example: dhOK9luFA6t7Wg5I Patient ID |
street required | string Street name/number |
street2 | null or string Floor, apt, etc. |
city required | string City |
postcode required | string Postcode (Zip) |
state required | string State |
country_code required | string Default: "us" ISO 3166-1 Country Code |
{- "street": "Mulholland Drive 1",
- "street2": null,
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
{- "id": "O9NGaN38CR4TK3s2",
- "street": "Mulholland Drive 1",
- "street2": null,
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
Fetch address record
address_id required | string Example: H4Z2WajQTJBW5aqQ Address ID |
{- "id": "O9NGaN38CR4TK3s2",
- "street": "Mulholland Drive 1",
- "street2": null,
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
Update address record
address_id required | string Example: H4Z2WajQTJBW5aqQ Address ID |
street required | string Street name/number |
street2 | null or string Floor, apt, etc. |
city required | string City |
postcode required | string Postcode (Zip) |
state required | string State |
country_code required | string Default: "us" ISO 3166-1 Country Code |
{- "street": "Mulholland Drive 1",
- "street2": null,
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
{- "id": "O9NGaN38CR4TK3s2",
- "street": "Mulholland Drive 1",
- "street2": null,
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
List patient cards
patient_id required | string Patient id |
page | integer Example: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Example: per_page=20 Pagination page size |
{- "page": 0,
- "per_page": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "string",
- "card_type": "string",
- "last4": "string",
- "phone": "string"
}
]
}
Create Checkout Session
success_url required | string |
cancel_url required | string |
required | object |
required | Array of objects non-empty |
{- "id": "string",
- "status": "paid",
- "checkout_url": "string",
- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 0,
- "fees_in_cents": 0
}, - "patient": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "phone": "string"
}, - "items": [
- {
- "name": "Product A",
- "unit_price_in_cents": 999,
- "qty": 1
}
], - "payment": null
}
{- "id": "string",
- "status": "paid",
- "checkout_url": "string",
- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 0,
- "fees_in_cents": 0
}, - "patient": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "phone": "string"
}, - "items": [
- {
- "name": "Product A",
- "unit_price_in_cents": 999,
- "qty": 1
}
], - "payment": null
}
Fetch checkout session record
session_id required | string Session ID |
{- "id": "string",
- "status": "paid",
- "checkout_url": "string",
- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 0,
- "fees_in_cents": 0
}, - "patient": {
- "id": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "phone": "string"
}, - "items": [
- {
- "name": "Product A",
- "unit_price_in_cents": 999,
- "qty": 1
}
], - "payment": null
}
List order records
page | integer Example: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Example: per_page=20 Pagination page size |
{- "page": 0,
- "per_pate": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "vk1AJK1exCI5QxBX",
- "ref": "000005",
- "archived": false,
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 1499,
- "shipping_price_in_cents": 499,
- "fees_in_cents": 100
}, - "signature": "Jane Doe",
- "answers": [
- {
- "question": "Any allergies?",
- "answer": "No."
}
], - "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
}, - "payment": {
- "amount_in_cents": 999,
- "ref": "HSHI34L5OD"
}, - "shipment": {
- "amount_in_cents": 1499,
- "ref": "string",
- "shipping_method": "pickup",
- "name": "Same day pickup"
}, - "address": {
- "street": "string",
- "street2": "string",
- "city": "string",
- "postcode": "string",
- "state": "string",
- "country_code": "us"
}, - "items": [
- {
- "type": "prescription",
- "price_in_cents": 699,
- "total_in_cents": 699,
- "tax_in_cents": 699,
- "name": "Carisoprodol 350 Mg Tablet"
}
]
}
]
}
Create new order
required | object |
required | Array of objects non-empty |
required | object |
{- "patient": {
- "id": "7ousployGNoOMWy6"
}, - "card": {
- "token": "XoMPmJWX8rpEaZyJ92a1keQjugpwAB8W",
- "save": true
}, - "items": [
- {
- "name": "Line item 1",
- "price_in_cents": 200,
- "tax_in_cents": 30
}, - {
- "name": "Line item 2",
- "price_in_cents": 400,
- "tax_in_cents": 50
}
]
}
Fetch order record
order_id required | string Example: UdAdI0Wm6cG1oVUG Order ID |
{- "id": "vk1AJK1exCI5QxBX",
- "ref": "000005",
- "archived": false,
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 1499,
- "shipping_price_in_cents": 499,
- "fees_in_cents": 100
}, - "signature": "Jane Doe",
- "answers": [
- {
- "question": "Any allergies?",
- "answer": "No."
}
], - "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
}, - "payment": {
- "amount_in_cents": 999,
- "ref": "HSHI34L5OD"
}, - "shipment": {
- "amount_in_cents": 1499,
- "ref": "string",
- "shipping_method": "pickup",
- "name": "Same day pickup"
}, - "address": {
- "street": "string",
- "street2": "string",
- "city": "string",
- "postcode": "string",
- "state": "string",
- "country_code": "us"
}, - "items": [
- {
- "type": "prescription",
- "price_in_cents": 699,
- "total_in_cents": 699,
- "tax_in_cents": 699,
- "name": "Carisoprodol 350 Mg Tablet"
}
]
}
List patient order records
patient_id required | string Example: dhOK9luFA6t7Wg5I Patient ID |
page | integer Example: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Example: per_page=20 Pagination page size |
{- "page": 0,
- "per_pate": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "vk1AJK1exCI5QxBX",
- "ref": "000005",
- "archived": false,
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 1499,
- "shipping_price_in_cents": 499,
- "fees_in_cents": 100
}, - "signature": "Jane Doe",
- "answers": [
- {
- "question": "Any allergies?",
- "answer": "No."
}
], - "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
}, - "payment": {
- "amount_in_cents": 999,
- "ref": "HSHI34L5OD"
}, - "shipment": {
- "amount_in_cents": 1499,
- "ref": "string",
- "shipping_method": "pickup",
- "name": "Same day pickup"
}, - "address": {
- "street": "string",
- "street2": "string",
- "city": "string",
- "postcode": "string",
- "state": "string",
- "country_code": "us"
}, - "items": [
- {
- "type": "prescription",
- "price_in_cents": 699,
- "total_in_cents": 699,
- "tax_in_cents": 699,
- "name": "Carisoprodol 350 Mg Tablet"
}
]
}
]
}
List patient records
page | integer Example: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Example: per_page=20 Pagination page size |
{- "page": 0,
- "per_page": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
}
]
}
Create patient record
eid required | string External ID |
first_name required | string First Name |
last_name required | string Last Name |
dob required | string Date of birth |
phone | string Phone number |
string Email address | |
Array of objects (Prescription) | |
Array of objects (Address) |
{- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "1979-05-07 00:00:00.000000",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
}
Fetch patient record
patient_id required | string Example: dhOK9luFA6t7Wg5I Patient ID |
{- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
}
Update patient record
patient_id required | string Example: dhOK9luFA6t7Wg5I Patient ID |
eid required | string External ID |
first_name required | string First Name |
last_name required | string Last Name |
dob required | string Date of birth |
phone | string Phone number |
string Email address |
{- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io"
}
{- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
}
Fetch patient cart record
patient_id required | string Example: dhOK9luFA6t7Wg5I Patient ID |
{- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 1299,
- "fees_in_cents": 100
}, - "prescriptions": [
- {
- "id": "BWCTLvfzTklvXmCu",
- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": null,
- "price_in_cents": 1299,
- "status": "pending",
- "provider": "Dr Jones",
- "days_supply": 30,
- "qty": 30,
- "is_refill": false
}
], - "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
}
}
List patient prescription records
patient_id required | string Example: dhOK9luFA6t7Wg5I Patient ID |
page | integer Example: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Example: per_page=20 Pagination page size |
{- "page": 0,
- "per_pate": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "BWCTLvfzTklvXmCu",
- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": null,
- "price_in_cents": 1299,
- "status": "pending",
- "provider": "Dr Jones",
- "days_supply": 30,
- "qty": 30,
- "is_refill": false
}
]
}
Create patient prescription record
patient_id required | string Example: dhOK9luFA6t7Wg5I Patient ID |
eid required | string |
name required | string |
rx_number required | string |
refill_number | null or string |
price_in_cents required | integer |
provider required | string |
days_supply required | integer |
qty required | integer |
is_refill | boolean Default: false |
{- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": null,
- "price_in_cents": 1299,
- "provider": "Dr Jones",
- "days_supply": 30,
- "qty": 30,
- "is_refill": false
}
{- "id": "BWCTLvfzTklvXmCu",
- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": null,
- "price_in_cents": 1299,
- "status": "pending",
- "provider": "Dr Jones",
- "days_supply": 30,
- "qty": 30,
- "is_refill": false
}
Fetch prescription record
prescription_id required | string Prescription ID |
{- "id": "BWCTLvfzTklvXmCu",
- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": null,
- "price_in_cents": 1299,
- "status": "pending",
- "provider": "Dr Jones",
- "days_supply": 30,
- "qty": 30,
- "is_refill": false
}
Update prescription record
prescription_id required | string Prescription ID |
eid required | string |
name required | string |
rx_number required | string |
refill_number | null or string |
price_in_cents required | integer |
provider required | string |
days_supply required | integer |
qty required | integer |
is_refill | boolean Default: false |
{- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": null,
- "price_in_cents": 1299,
- "provider": "Dr Jones",
- "days_supply": 30,
- "qty": 30,
- "is_refill": false
}
{- "id": "BWCTLvfzTklvXmCu",
- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": null,
- "price_in_cents": 1299,
- "status": "pending",
- "provider": "Dr Jones",
- "days_supply": 30,
- "qty": 30,
- "is_refill": false
}