Save
To save the order.
Save
POST
{{apiUrl}}doctor/orders/save
If the order is made with batch through push_prescription API, It can be saved by this API. This removes the headache of the integration partners, who don't want their chemists to switch 2 portals. Their portal to make drafts, and eVitalRx portal to save the order.
Request Body
patient_id*
String
Id to uniquely identify the patient for whom the order is placed
items*
Stringified Array
List of items with quantity (in pills).
All the params are required shown below.
Medicine Id and batch should have unique combination.
i.e. [{ "medicine_id": "vjalpzMV0E33BLwzzLR6fQ==", "batch": "FRESH", "expiry": "2025-12-01", "mrp": 36.1, "quantity": 2, "discount": 0, "gst_percentage": 12, "cess_percentage": 0}]
apikey*
String
Authentication token
patient_name*
String
Name of the Patient
shipping
String
Extra charges in the order.
delivery_type
String
Must be one of pickup or delivery. default is pickup.
remark
String
Note for the Prescription. This param is also available in the Order Details.
order_id*
String
Order ID from the response of push_prescription API.
order_date*
String
Date of the bill.
Format: YYYY-MM-DD
parent_patient_id
String
If billing for family member, then pass parent patient's ID here.
doctor_id
String
Encrypted Doctor ID. This ID is available in the Order Details.
payment_status*
Number
To choose payment mode of the order.
1: CASH
2: CREDIT
3: UPI
4: CHEQUE
5: PAYTM
6: CC/DC
7: RTGS/NEFT
Last updated