Order Return
Make Sales Return bill with API
POST
{{apiUrl}}patient/orders/sales_return
This API will make a Sales Return bill. chemist no need to go to the eVitalRx portal to complete the Return bill.
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
remark
String
Note for the Order Return.
order_date*
String
Date of the bill.
Format: YYYY-MM-DD
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
quantity_type
strip | loose
[strip]: The quantity you are passing will considered as strip
[loose]: The quantity you are passing will considered as pills
Last updated