Skip to main content
POST
Create Order

Headers

auth
string
required

Body

application/json

The order to place.

admissionId
string
required

Id of the IPD admission the order is for (a UUID or a 24-character hex id).

items
IpdOrderItemInput · object[]
required

Medicines to order.

ipd_id
string

Patient IPD case number.

rxId
string

Id of the prescription the order is based on.

rxPdfUrl
string

URL of the prescription PDF.

provider
enum<string>

Pharmacy provider to send the order to. See the overview for the default.

Available options:
evital,
dawakhana
pharmacyId
string

Id of the pharmacy to fulfil the order. Required for evital orders.

patient_id
string

Id of the patient.

patient_name
string

Name of the patient.

mobile
string

Mobile number of the patient.

doctor_name
string

Name of the prescribing doctor.

delivery_type
enum<string>

How the medicines reach the patient.

Available options:
pickup,
delivery
notes
string

Order-level remarks.

custom_fields
object

Extra key-value fields passed to the provider (used by eVital).

Response

OK — the created order.

success
boolean
data
IpdOrder · object