Checkout

To check availability of the items.

Get availability of medicines

POST https://api.evitalrx.in/v1/fulfillment/orders/checkout

For the medicines which are out of stock, available alternative medicines will be provided.

Request Body

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2023-02-15 12:33:58",
    "data": {
        "availability": [
            {
                "medicine_id": "y8P5ElKQqfn/Dkb0uhE9Sg==",
                "in_stock": "yes"
            },
            {
                "medicine_id": "+ZqERHcCTAeuxsJheIXjyw==",
                "in_stock": "no",
                "alternatives": []
            },
            {
                "medicine_id": "I446Nql4z13v8fTxtjx63g==",
                "in_stock": "no",
                "alternatives": [
                    {
                        "medicine_id": "y8P5ElKQqfn/Dkb0uhE9Sg==",
                        "medicine_name": "Ltk 50 Tablet",
                        "mrp": 50,
                        "packing_size": "1 Strip of  10 Tablet",
                        "manufacturer_name": "Unison Pharmaceuticals Pvt Ltd",
                        "content": "Losartan (50mg)"
                    }
                ]
            }
        ]
    }
}

Last updated