Place Order

To place order with items and its quantity.

Place Order

POST https://api.evitalrx.in/v1/patient/orders/place_order

Here is the sample cURL request to place a pick-up online order with prescriptions. Use form data to call the place order API, and push prescriptions in the image param.

more than 1 prescription is accepted. prescription can also be sent in the delivery orders. Copy & paste the below request in the postman, then any language code snippets can be generated with it.

curl --location 'https://api.evitalrx.in/v1/patient/orders/place_order' --form 'apikey="***********************"' --form 'items="[{"medicine_id":"gv0GokYn9w4zFL51eouS2g==","quantity":50,"discount_percentage": 5}]"' --form 'patient_id="yxu0Bh1hNM61K3b7t7+vlw=="' --form 'delivery_type="pickup"' --form 'image=@"/C:/Users/91999/Downloads/image (51f8e0f5-d996-4d8e-91bb-752d923d88a6).png"'

Request Body

{
    "status_code": "1",
    "status_message": "Order placed successfully",
    "datetime": "2022-12-06 18:46:31",
    "data": {
        "order_id": "/6vMKQj0JOB9GvN+6I27zg==",
        "order_number": "OJLBC8WC1I"
    }
}

Last updated