Order List

To get the order details

Order List

POST https://api.evitalrx.in/v1/b2b/list

Request Body

NameTypeDescription

start_date*

Date

Date of the bill.

Format: YYYY-MM-DD

end_date*

Date

Date of the bill.

Format: YYYY-MM-DD

apikey*

String

Authentication token

order_number

String

Unique order number which got generated while saving order

bill_no

String

The number of the bill like for eg. 1, 2, 3...

reference_number

Number

Generated reference number to bill (e.g. 1, 2, 3, ...)

searchstring

String

Min: 3 char required, accepts: 1. pharmacy_name 2. area

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

buyer_chemist_id

String

Id to uniquely identify the chemist for whom the order is saved

orderby

String

Field to order results by, accepts: 1. reference_number 2. bill_no 3. bill_date 4. created_date (default) 5. pharmacy_name 6. amount 7. area 8. due_amount

order

String

Order direction, accepts: 1. asc 2. desc (default)

remark

String

Note for the Prescription if any

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2024-10-01 13:11:32",
    "data": {
        "rpp": 20,
        "current_page": 1,
        "staff_list": [
            {
                "id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
                "fullname": "Owner",
                "status": "active",
                "entity": "chemist",
                "role_id": "aBs1Hvl3Duj0n3tGG09Biw=="
            },
            {
                "id": "AUggj/Nbe8fOBBWEUBAysA==",
                "firstname": "Raju",
                "lastname": "R",
                "status": "active",
                "role_id": "S7BTDcQD0IFOO7ypLxnmRg==",
                "role_name": "Store Manager",
                "fullname": "Raju R",
                "entity": "staff"
            }
        ],
        "results": [
            {
                "id": "4opko4aPVaWqRvxgkS68gQ==",
                "chemist_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
                "buyer_chemist_id": "bOhA95wWipFevGWyHpujmg==",
                "reference_number": 104,
                "bill_no": "104",
                "bill_date": "2024-09-27",
                "amount": 1033,
                "payment_status": 2,
                "order_number": "5270311112",
                "delivery_note": "",
                "order_status": "completed",
                "order_type": "wholesale",
                "order_by_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
                "order_by_entity": "chemist",
                "order_by_name": "Owner",
                "created_date": "2024-10-01 12:54:23",
                "pharmacy_name": "Test Pharma",
                "mobile": "7878989877",
                "area": "",
                "einvoice_url": "",
                "payment_due_date": "2024-09-29",
                "total": 1033,
                "payment_cleared": "yes"
            },
            {
                "id": "QlOCazEdBCkSk9qdEQF2qA==",
                "chemist_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
                "buyer_chemist_id": "bOhA95wWipFevGWyHpujmg==",
                "reference_number": 103,
                "bill_no": "103",
                "bill_date": "2024-09-27",
                "amount": 1033,
                "payment_status": 2,
                "order_number": "0028515386",
                "delivery_note": "",
                "order_status": "completed",
                "order_type": "wholesale",
                "order_by_id": "pAUYuNJCJxZDFD5U4Nq/ZQ==",
                "order_by_entity": "chemist",
                "order_by_name": "Owner",
                "created_date": "2024-10-01 12:50:37",
                "pharmacy_name": "Test Pharma",
                "mobile": "7878989877",
                "area": "",
                "einvoice_url": "",
                "payment_due_date": "2024-09-29",
                "total": 1033,
                "payment_cleared": "yes"
            }
        ]
    }
}

Last updated