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

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 (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

{
    "status_code": "1",
    "status_message": "Return order added successfully.",
    "datetime": "2023-03-09 18:44:25",
    "ng_version": "0.0.371",
    "data": {
        "order_id": "UpQGYF77Y97maydwXEaVXQ=="
    }
}

Last updated