Save
This API is used to Save the draft orders.
Last updated
This API is used to Save the draft orders.
Last updated
POST
https://api.evitalrx.in//v1/patient/orders/save
If the order is made in a draft state, 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 place orders, and eVitalRx portal to save the order.
Name | Type | Description |
---|---|---|
patient_id*
String
Id to uniquely identify the patient for whom the order is placed
items*
Stringified Array
List of items with quantity (default in pills). You can change the quantity_type to consider them as strip.
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}]
quantity_type
strip | loose
[strip]: The quantity you are passing will considered as strip
[loose]: The quantity you are passing will considered as pills
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 Place Order 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