eVitalRx
  • API - powered by eVitalRx
  • Getting Started with eVitalRx
  • API FOR Product Catalogue
    • Introduction
    • Medicines
      • Search Product
      • Product Details
      • Search Content
      • Request Product
      • Get Categories
      • Get Category Products
  • API FOR Patient App
    • Introduction
    • Login/Signup
      • Signup send OTP
      • Signup
      • Login
      • Forgot password send OTP
      • Reset password
      • Change password
    • Patients
      • Add Patient
      • Update Patient
      • Get Patient
      • Add Patient family member
    • Addresses
      • List Addresses
      • Add-Update Address
      • Set Default Address
      • Delete Address
    • Medicines
      • Search Products
      • Search Manufacturer
      • Product Details
      • Get Stock details
      • Get Product Batch
      • Search Content
      • Branded to Generic
      • Get Categories
      • Get Category Products
      • Get Entity Categories
      • Get Entity Category Products
    • Orders
      • Place Order
      • Cancel Order
      • Save
      • Order Details
      • Order List
      • Mark as Accept
      • Mark as Reject
      • Get Reject Reasons
      • Get Chemist Order Settings
      • â›”Mark as Shipped
      • Mark as Delivered
      • Order Return
      • Order Return Details
  • API FOR EMR/HMIS SOFTWARE
    • Introduction
    • Medicines
      • Search Products
      • Product Details
      • Get Inventory Status
      • Get Inventory Items
      • Get Alternatives
      • Get Product Batch
      • Get Expired Batches
      • Request Product
      • Branded to Generic
      • Search Content
      • Add Favorite Medicine
    • Patients
      • Add Patient
      • Get Patient
      • Update Patient
      • Add Patient family member
    • Orders
      • Push Prescription
      • Order Details
      • Order List
      • â›”Update Order
      • Save
  • API FOR Custom Fields
    • Introduction
    • Add Custom Fields
    • Update Custom Field
    • Delete Custom Fields
    • List Custom Fields
  • API FOR MASTER
    • Reports
      • Margin Report
      • Stock Summary
  • API FOR FULFILLMENT
    • Introduction
    • Medicines
      • Search Products
      • Product Details
    • Orders
      • â›”Check Serviceability
      • Check Serviceability V3
      • â›”Checkout V2
      • Checkout V3
      • â›”Place Order V2
      • Place Order V3
      • â›”Order Details
      • Order Details V2
      • â›”Cancel Order
      • Cancel Order V2
      • Get Reject Reasons
    • Patients
      • Add Patient
      • Get Patient
  • API FOR B2B
    • Introduction
    • Orders
      • Order Save
      • Order Save as Draft
      • Order List
      • Order Details
      • Order Return Save
      • Order Return List
      • Order Return Details
    • Customers
      • Add / Update Customer
      • Customer List
  • Webhook Responses
    • Introduction
    • Medicine Webhook
    • Transaction Webhook
    • Draft Save
    • Draft Edit
    • Order Save
    • Order Edit
    • Order Accepted
    • Order Rejected
    • Order Shipped
    • Order Delivered
    • Order Split
  • Others
    • Terms & Conditions
Powered by GitBook
On this page

Was this helpful?

  1. API FOR EMR/HMIS SOFTWARE
  2. Orders

Order Details

To get the order details

PreviousPush PrescriptionNextOrder List

Last updated 3 months ago

Was this helpful?

Order View

POST

Request Body

Name
Type
Description

order_id*

String

Unique id of the order

apikey*

String

Authentication token

order_number

String

if order_number is provided, then order_id is not mandatory.

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2022-12-07 14:26:53",
    "data": {
        "id": "JoPUmfKRiivtIxpkAKtpng==", // Order ID
        "order_number": "OOLBDETJIQ",
        "amount": 115,
        "discount": 0,
        "total": 115,
        "address_name": "home",
        "address": "",
        "address_line2": "",
        "city": "",
        "state": "",
        "zipcode": "",
        "order_status": "draft",
        "created_date": "2022-12-07 14:20:04",
        "order_delivery_datetime": "2022-12-07 14:20:04",
        "pharmacy_name": "Manav Pharmacy",
        "chemist_mobile": "7043120038",
        "chemist_address": "Cambridge Road",
        "chemist_city": "Bengaluru",
        "chemist_latitude": 12.970622,
        "chemist_longitude": 77.6281433,
        "chemist_state": "Karnataka",
        "chemist_zipcode": "560008",
        "order_patient_name": "Poojan Mehta",
        "pharmacist_name": "Manav",
        "delivery_note": "",
        "payment_status": 2,
        "patient_id": "3Dc6fhD+sruK/l2h585s7w==",
        "delivery_pin": "U2FsdGVkX1+twZ9Ase9xSlahDQno3tEh1A/fF3RGZI4=",
        "payment_ref_id": "",
        "custom_fields": { // Addtional fields for order
                "prescription_id": "879",
                "appointment_id": "123"
            }
        "medicine_details": [
            {
                "medicine_id": "ZnsQl586DmR/ANT3aLdM4g==",
                "medicine_name": "Ltk 50 Tablet",
                "size": 10,
                "medicine_type": "drug",
                "packing_size": "10 tablets in 1 strip",
                "gst_percentage": 5,
                "quantity": 1,
                "mrp": 115,
                "amount": 0,
                "price": 0,
                "manufacturer_name": "Unison Pharmaceuticals Pvt Ltd",
                "order_details_id": "XvpcrpsRCyGhtkVsFpFOeA==",
                "discount_percentage": 0,
                "batch": "KRI",
                "discount": 0,
                "expiry": "2023-02-01",
                "gst": 0,
                "hsn_code": "",
                "cess": 0,
                "cess_percentage": 0,
                "loose_quantity": 10
            }
        ],
        "prescription_details": [],
        "payment_url": "http://evital.in/invoice/T09MQkRFVEpJUQ==/"
    }
}
{
    "status_code": "0",
    "status_message": "No record found",
    "datetime": "2022-12-07 14:30:56",
    "data": null
}
{{apiUrl}}doctor/orders/view