Branded to Generic

To get alternate products by unique medicine Id.

POST https://api.evitalrx.in/v1/doctor/medicines/branded_to_generic

Get Alternate medicines with the best in terms of Expiry, Margin, and Price.

Request Body

NameTypeDescription

apikey*

String

Authentication Token

medicine_id*

String

Unique id of the product

order_by

String

must be one of epm, mep, pem

epm: Expiry -> Price -> Margin

mep: Margin -> Expiry -> Price

pem: Price -> Expiry -> Margin

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2022-11-17 10:30:42",
    "data": {
        "eGMwtMdst4OkfNrNoAFxRw==": {
            "data": [],
            "message": "alternative not found",
            "status": 0
        },
        "77eruTI3h1JUg4RqaV20JQ==": {
            "data": [
                {
                    "mrp": 204.97,
                    "batch": "C2VAV19",
                    "expiry": "11-23",
                    "packing_size": "1 Bottle of  5 Ml",
                    "medicine_name": "Moxicip D Eye Drop",
                    "manufacturer_name": "Cipla Ltd",
                    "margin_percentage": "23.20",
                    "medicine_id": "M1AGVZYv89bWlk7/oWbG4Q=="
                }
            ],
            "message": "success",
            "status": 1
        }
    }
}

Last updated