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 Examples: dhOK9luFA6t7Wg5I Patient ID |
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
{- "page": 0,
- "per_page": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "O9NGaN38CR4TK3s2",
- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
Create patient address record
patient_id required | string Examples: dhOK9luFA6t7Wg5I Patient ID |
eid | string External ID |
street required | string Street name/number |
street2 | string or null 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 |
{- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
{- "id": "O9NGaN38CR4TK3s2",
- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us",
- "created_at": "2019-08-24T14:15:22Z"
}
Fetch address record
address_id required | string Examples: H4Z2WajQTJBW5aqQ Address ID |
{- "id": "O9NGaN38CR4TK3s2",
- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us",
- "created_at": "2019-08-24T14:15:22Z"
}
Update address record
address_id required | string Examples: H4Z2WajQTJBW5aqQ Address ID |
eid | string External ID |
street required | string Street name/number |
street2 | string or null 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 |
{- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
{- "id": "O9NGaN38CR4TK3s2",
- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us",
- "created_at": "2019-08-24T14:15:22Z"
}
Fetch address record by EID
address_eid required | string Address External ID |
{- "id": "O9NGaN38CR4TK3s2",
- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us",
- "created_at": "2019-08-24T14:15:22Z"
}
Update address record by EID
address_eid required | string Address External ID |
eid | string External ID |
street required | string Street name/number |
street2 | string or null 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 |
{- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
{- "id": "O9NGaN38CR4TK3s2",
- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": "string",
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us",
- "created_at": "2019-08-24T14:15:22Z"
}
List patient cards
patient_id required | string Patient id |
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
{- "page": 0,
- "per_page": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "string",
- "card_type": "string",
- "last4": "string",
- "phone": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
Create patient card record
patient_id required | string Patient id |
token required | string Card token |
{- "token": "3LfiTGqiG6mUXQP8"
}
{- "id": "string",
- "card_type": "string",
- "last4": "string",
- "phone": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
Create Checkout Session
success_url required | string <uri> |
cancel_url required | string <uri> |
eid | string |
required | object |
required | Array of objects |
{- "eid": "35db90c0-e4b7-4563-a18f-a36c7eec55d9",
- "patient": {
- "id": "sXJtLlP83G5fOia3"
}, - "items": [
- {
- "name": "Line Item 1",
- "unit_price_in_cents": 699,
- "qty": 10
}
]
}
{- "id": "sXJtLlP83G5fOia3",
- "eid": "62cf833c-cccc-55gg-9528-de5959d9472d",
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 0,
- "fees_in_cents": 0,
- "tax_in_cents": 0,
- "shipping_price_in_cents": 0
}, - "created_at": "2019-08-24T14:15:22Z",
- "items": [
- {
- "name": "Product A",
- "qty": 1,
- "unit_price_in_cents": 999,
- "total_in_cents": 0
}
], - "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}, - "order": {
- "id": "string",
- "ref": "string",
- "status": "pending"
}
}
Fetch checkout session record
session_id required | string Session ID |
{- "id": "sXJtLlP83G5fOia3",
- "eid": "62cf833c-cccc-55gg-9528-de5959d9472d",
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "subtotal_in_cents": 0,
- "fees_in_cents": 0,
- "tax_in_cents": 0,
- "shipping_price_in_cents": 0
}, - "created_at": "2019-08-24T14:15:22Z",
- "items": [
- {
- "name": "Product A",
- "qty": 1,
- "unit_price_in_cents": 999,
- "total_in_cents": 0
}
], - "patient": {
- "id": "Jane",
- "first_name": "string",
- "last_name": "Doe",
- "email": "jane@healnow.io",
- "phone": "+11111111111"
}, - "order": {
- "id": "string",
- "ref": "string",
- "status": "pending"
}
}
List patient fees
patient_id required | string Patient ID |
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
status | string Filter records by status |
name | string Filter records by name |
from | string <date> Examples: from=2023-12-31 Filter records by created at date time |
to | string <date> Examples: to=2023-12-31 Filter records by created at date time |
updated_at[from] | string <date> Examples: updated_at[from]=2023-12-31 Filter records by updated at date time |
updated_at[to] | string <date> Examples: updated_at[to]=2023-12-31 Filter records by updated at date time |
{- "page": 0,
- "per_page": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "BWCTLvfzTklvXmCu",
- "eid": null,
- "name": "Some fee",
- "price_in_cents": 699,
- "status": "pending",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
Create patient fee record
patient_id required | string Patient ID |
name required | string |
price_in_cents required | integer |
eid | string |
{- "name": "Some fee",
- "price_in_cents": 699
}
{- "id": "BWCTLvfzTklvXmCu",
- "eid": null,
- "name": "Some fee",
- "price_in_cents": 699,
- "status": "pending",
- "created_at": "2019-08-24T14:15:22Z"
}
Update fee record
fee_id required | string Fee ID |
name required | string |
price_in_cents required | integer |
eid | string |
{- "name": "Some fee",
- "price_in_cents": 699
}
{- "id": "BWCTLvfzTklvXmCu",
- "eid": null,
- "name": "Some fee",
- "price_in_cents": 699,
- "status": "pending",
- "created_at": "2019-08-24T14:15:22Z"
}
List order records
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
archived | boolean Filter records by archived state |
status | string Filter records by status |
ref | string Filter records by ref |
description | string Filter records by description |
from | string <date> Examples: from=2023-12-31 Filter records by created at date time |
to | string <date> Examples: to=2023-12-31 Filter records by created at date time |
updated_at[from] | string <date> Examples: updated_at[from]=2023-12-31 Filter records by updated at date time |
updated_at[to] | string <date> Examples: updated_at[to]=2023-12-31 Filter records by updated at date time |
{- "page": 0,
- "per_pate": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "vk1AJK1exCI5QxBX",
- "ref": "000005",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "New patient order",
- "archived": false,
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "tax_in_cents": 100,
- "fees_in_cents": 100,
- "subtotal_in_cents": 1499,
- "shipping_price_in_cents": 0
}, - "signature": "URL to .png",
- "answers": [
- {
- "question": "Any allergies?",
- "answer": "No."
}
], - "meta": { },
- "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}, - "payment": {
- "amount_in_cents": 0,
- "ref": "string",
- "card_type": "visa",
- "card_last4": "1111",
- "cvv_result": "M",
- "avs_result": "Z"
}, - "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",
- "name": "Carisoprodol 350 Mg Tablet",
- "price_in_cents": 699,
- "total_in_cents": 699,
- "tax_in_cents": 699,
- "source": {
- "id": "string",
- "type": "prescription"
}
}
], - "source": {
- "id": "VKIAZ4cJYZbmtPqL",
- "type": "Cart"
}
}
]
}
Create new order
description | string Additional order info |
object Additional key-value order data. Specify up to 50 keys, with key names up to 40 characters long and values up to 255 characters long for strings. | |
required | object |
required | Array of objects non-empty Order should have at least one item to be valid |
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
}
]
}
{- "id": "vk1AJK1exCI5QxBX",
- "ref": "000005",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "New patient order",
- "archived": false,
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "tax_in_cents": 100,
- "fees_in_cents": 100,
- "subtotal_in_cents": 1499,
- "shipping_price_in_cents": 0
}, - "signature": "URL to .png",
- "answers": [
- {
- "question": "Any allergies?",
- "answer": "No."
}
], - "meta": { },
- "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}, - "payment": {
- "amount_in_cents": 0,
- "ref": "string",
- "card_type": "visa",
- "card_last4": "1111",
- "cvv_result": "M",
- "avs_result": "Z"
}, - "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",
- "name": "Carisoprodol 350 Mg Tablet",
- "price_in_cents": 699,
- "total_in_cents": 699,
- "tax_in_cents": 699,
- "source": {
- "id": "string",
- "type": "prescription"
}
}
], - "source": {
- "id": "VKIAZ4cJYZbmtPqL",
- "type": "Cart"
}
}
Fetch order record
order_id required | string Examples: UdAdI0Wm6cG1oVUG Order ID |
{- "id": "vk1AJK1exCI5QxBX",
- "ref": "000005",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "New patient order",
- "archived": false,
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "tax_in_cents": 100,
- "fees_in_cents": 100,
- "subtotal_in_cents": 1499,
- "shipping_price_in_cents": 0
}, - "signature": "URL to .png",
- "answers": [
- {
- "question": "Any allergies?",
- "answer": "No."
}
], - "meta": { },
- "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}, - "payment": {
- "amount_in_cents": 0,
- "ref": "string",
- "card_type": "visa",
- "card_last4": "1111",
- "cvv_result": "M",
- "avs_result": "Z"
}, - "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",
- "name": "Carisoprodol 350 Mg Tablet",
- "price_in_cents": 699,
- "total_in_cents": 699,
- "tax_in_cents": 699,
- "source": {
- "id": "string",
- "type": "prescription"
}
}
], - "source": {
- "id": "VKIAZ4cJYZbmtPqL",
- "type": "Cart"
}
}
List patient order records
patient_id required | string Examples: dhOK9luFA6t7Wg5I Patient ID |
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
{- "page": 0,
- "per_pate": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "vk1AJK1exCI5QxBX",
- "ref": "000005",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "New patient order",
- "archived": false,
- "status": "paid",
- "total_in_cents": 0,
- "totals": {
- "tax_in_cents": 100,
- "fees_in_cents": 100,
- "subtotal_in_cents": 1499,
- "shipping_price_in_cents": 0
}, - "signature": "URL to .png",
- "answers": [
- {
- "question": "Any allergies?",
- "answer": "No."
}
], - "meta": { },
- "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}, - "payment": {
- "amount_in_cents": 0,
- "ref": "string",
- "card_type": "visa",
- "card_last4": "1111",
- "cvv_result": "M",
- "avs_result": "Z"
}, - "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",
- "name": "Carisoprodol 350 Mg Tablet",
- "price_in_cents": 699,
- "total_in_cents": 699,
- "tax_in_cents": 699,
- "source": {
- "id": "string",
- "type": "prescription"
}
}
], - "source": {
- "id": "VKIAZ4cJYZbmtPqL",
- "type": "Cart"
}
}
]
}
List patient records
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
eid | string Filter records by eid |
first_name | string Filter records by first name |
last_name | string Filter records by last name |
cart_state | string Enum: "open" "empty" "abandoned" "error" Examples: cart_state=open Filter records by cart state |
dob | string <date> Examples: dob=2023-12-31 Filter records by date of birth |
from | string <date> Examples: from=2023-12-31 Filter records by created at date time |
to | string <date> Examples: to=2023-12-31 Filter records by created at date time |
updated_at[from] | string <date> Examples: updated_at[from]=2023-12-31 Filter records by updated at date time |
updated_at[to] | string <date> Examples: updated_at[to]=2023-12-31 Filter records by updated at date time |
{- "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",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
Create patient record
eid | string External ID |
first_name | string First Name |
last_name | string Last Name |
dob | string Date of Birth |
phone | string Phone Number |
string Email Address | |
Array of objects (PrescriptionCreate) | |
Array of objects (AddressCreate) |
{- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "prescriptions": [
- {
- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": "string",
- "price_in_cents": 1299,
- "provider": "Dr Jones",
- "qty": 30,
- "days_supply": 30,
- "is_refill": false,
- "drug_strength": "250 mg",
- "ndc": "0777-3105-02"
}
], - "addresses": [
- {
- "eid": "72cf943c-cccc-55gg-0528-de5050d9473d",
- "street": "Mulholland Drive 1",
- "street2": null,
- "city": "Los Angeles",
- "postcode": "90068",
- "state": "ca",
- "country_code": "us"
}
]
}
{- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}
Fetch patient record
patient_id required | string Examples: 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",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}
Update patient record
patient_id required | string Examples: dhOK9luFA6t7Wg5I Patient ID |
eid | string External ID |
first_name | string First Name |
last_name | string Last Name |
dob | 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",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}
Fetch patient record by EID
patient_eid required | string Patient External ID |
{- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}
Update patient record by EID
patient_eid required | string Patient External ID |
eid | string External ID |
first_name | string First Name |
last_name | string Last Name |
dob | 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",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}
Fetch patient cart record
patient_id required | string Examples: 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,
- "created_at": "2019-08-24T14:15:22Z",
- "ndc": "string",
- "drug_strength": "string"
}
], - "patient": {
- "id": "mHlcouikWQp9JCy2",
- "eid": "62bf832b-bbbd-44ff-9417-cd4949c8362c",
- "first_name": "Jane",
- "last_name": "Doe",
- "dob": "string",
- "phone": "+1111111111",
- "email": "jane@healnow.io",
- "animal": false,
- "cart_state": "open",
- "created_at": "2019-08-24T14:15:22Z"
}
}
List patient prescription records
patient_id required | string Examples: dhOK9luFA6t7Wg5I Patient ID |
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
status | string Filter records by status |
eid | string Filter records by eid |
rx_number | string Filter records by RX number |
name | string Filter records by name |
from | string <date> Examples: from=2023-12-31 Filter records by created at date time |
to | string <date> Examples: to=2023-12-31 Filter records by created at date time |
updated_at[from] | string <date> Examples: updated_at[from]=2023-12-31 Filter records by updated at date time |
updated_at[to] | string <date> Examples: updated_at[to]=2023-12-31 Filter records by updated at date time |
{- "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,
- "created_at": "2019-08-24T14:15:22Z",
- "ndc": "string",
- "drug_strength": "string"
}
]
}
Create patient prescription record
patient_id required | string Examples: dhOK9luFA6t7Wg5I Patient ID |
eid | string |
name required | string |
rx_number required | string |
refill_number | string |
price_in_cents required | integer |
provider | string |
qty required | integer |
days_supply | integer |
is_refill | boolean Default: false |
drug_strength | string |
ndc | string |
{- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": "string",
- "price_in_cents": 1299,
- "provider": "Dr Jones",
- "qty": 30,
- "days_supply": 30,
- "is_refill": false,
- "drug_strength": "250 mg",
- "ndc": "0777-3105-02"
}
{- "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,
- "created_at": "2019-08-24T14:15:22Z",
- "ndc": "string",
- "drug_strength": "string"
}
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,
- "created_at": "2019-08-24T14:15:22Z",
- "ndc": "string",
- "drug_strength": "string"
}
Update prescription record
prescription_id required | string Prescription ID |
eid | string |
name required | string |
rx_number required | string |
refill_number | string |
price_in_cents required | integer |
provider | string |
qty required | integer |
days_supply | integer |
is_refill | boolean Default: false |
drug_strength | string |
ndc | string |
{- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": "string",
- "price_in_cents": 1299,
- "provider": "Dr Jones",
- "qty": 30,
- "days_supply": 30,
- "is_refill": false,
- "drug_strength": "250 mg",
- "ndc": "0777-3105-02"
}
{- "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,
- "created_at": "2019-08-24T14:15:22Z",
- "ndc": "string",
- "drug_strength": "string"
}
Fetch prescription record by EID
prescription_eid required | string Prescription External 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,
- "created_at": "2019-08-24T14:15:22Z",
- "ndc": "string",
- "drug_strength": "string"
}
Update prescription record by EID
prescription_eid required | string Prescription External ID |
eid | string |
name required | string |
rx_number required | string |
refill_number | string |
price_in_cents required | integer |
provider | string |
qty required | integer |
days_supply | integer |
is_refill | boolean Default: false |
drug_strength | string |
ndc | string |
{- "eid": "35db90c0-97b7-4563-a18f-a364aeec95d9",
- "name": "Carisoprodol 350 Mg Tablet",
- "rx_number": "120143",
- "refill_number": "string",
- "price_in_cents": 1299,
- "provider": "Dr Jones",
- "qty": 30,
- "days_supply": 30,
- "is_refill": false,
- "drug_strength": "250 mg",
- "ndc": "0777-3105-02"
}
{- "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,
- "created_at": "2019-08-24T14:15:22Z",
- "ndc": "string",
- "drug_strength": "string"
}
List order refund records
order_id required | string Order ID |
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
{- "page": 0,
- "per_page": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "L1eDQhOWNRFfNG9y",
- "amount_in_cents": 999,
- "reason": "Some refund reason",
- "created_at": "2019-08-24T14:15:22Z",
- "order": {
- "id": "L1eDQhOWNRFfNG9y",
- "ref": "000001"
}
}
]
}
Create order refund record
order_id required | string Order ID |
amount_in_cents required | integer |
reason | string |
{- "amount_in_cents": 999,
- "reason": "Some refund reason"
}
{- "id": "L1eDQhOWNRFfNG9y",
- "amount_in_cents": 999,
- "reason": "Some refund reason",
- "created_at": "2019-08-24T14:15:22Z",
- "order": {
- "id": "L1eDQhOWNRFfNG9y",
- "ref": "000001"
}
}
List refund records
page | integer Examples: page=2 Current pagination page |
per_page | integer [ 1 .. 100 ] Default: 20 Examples: per_page=20 Pagination page size |
{- "page": 0,
- "per_page": 0,
- "total_pages": 0,
- "data": [
- {
- "id": "L1eDQhOWNRFfNG9y",
- "amount_in_cents": 999,
- "reason": "Some refund reason",
- "created_at": "2019-08-24T14:15:22Z",
- "order": {
- "id": "L1eDQhOWNRFfNG9y",
- "ref": "000001"
}
}
]
}
{- "id": "L1eDQhOWNRFfNG9y",
- "amount_in_cents": 999,
- "reason": "Some refund reason",
- "created_at": "2019-08-24T14:15:22Z",
- "order": {
- "id": "L1eDQhOWNRFfNG9y",
- "ref": "000001"
}
}