Get Dawakhana Order
curl --request GET \
--url https://api.eka.care/ipd/service/dawakhana/orders/{order_id} \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/ipd/service/dawakhana/orders/{order_id}"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/ipd/service/dawakhana/orders/{order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/ipd/service/dawakhana/orders/{order_id}")
.header("auth", "<auth>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/ipd/service/dawakhana/orders/{order_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/service/dawakhana/orders/{order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["auth"] = '<auth>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "66f1cd07e4b0a1b2c3d4ef0a",
"admissionId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"kind": "order",
"orderNumber": "DW-7Q2K9F3M",
"ipdId": "IPD-2026-0042",
"status": "CREATED",
"createdBy": "161467756044203",
"createdByName": "Vivek Sharma",
"isCollected": false,
"provider": "dawakhana",
"patientName": "Ravi Kumar",
"createdAt": "2026-10-07T12:10:00.000Z",
"updatedAt": "2026-10-07T12:10:00.000Z",
"lines": [
{
"id": "66f1cd07e4b0a1b2c3d4ef0b",
"medicineId": "med-paracetamol-500",
"name": "Paracetamol 500mg Tablet",
"genericName": "Paracetamol",
"orderedQty": 10,
"directions": "1 tablet every 6 hours",
"lineStatus": "PENDING"
}
]
}
}{
"success": true,
"error": "<string>"
}{
"message": "<string>"
}{
"success": false,
"error": "Order not found"
}Orders
Get Dawakhana Order
Overview
This API returns a single Dawakhana order of your workspace with its order lines. Use the line ids with Dispatch Dawakhana Order and Return Dawakhana Order.
Returns 404 with Order not found when the order_id does not exist or belongs to another workspace.
GET
/
ipd
/
service
/
dawakhana
/
orders
/
{order_id}
Get Dawakhana Order
curl --request GET \
--url https://api.eka.care/ipd/service/dawakhana/orders/{order_id} \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/ipd/service/dawakhana/orders/{order_id}"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/ipd/service/dawakhana/orders/{order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/ipd/service/dawakhana/orders/{order_id}")
.header("auth", "<auth>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/ipd/service/dawakhana/orders/{order_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/service/dawakhana/orders/{order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["auth"] = '<auth>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "66f1cd07e4b0a1b2c3d4ef0a",
"admissionId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"kind": "order",
"orderNumber": "DW-7Q2K9F3M",
"ipdId": "IPD-2026-0042",
"status": "CREATED",
"createdBy": "161467756044203",
"createdByName": "Vivek Sharma",
"isCollected": false,
"provider": "dawakhana",
"patientName": "Ravi Kumar",
"createdAt": "2026-10-07T12:10:00.000Z",
"updatedAt": "2026-10-07T12:10:00.000Z",
"lines": [
{
"id": "66f1cd07e4b0a1b2c3d4ef0b",
"medicineId": "med-paracetamol-500",
"name": "Paracetamol 500mg Tablet",
"genericName": "Paracetamol",
"orderedQty": 10,
"directions": "1 tablet every 6 hours",
"lineStatus": "PENDING"
}
]
}
}{
"success": true,
"error": "<string>"
}{
"message": "<string>"
}{
"success": false,
"error": "Order not found"
}Was this page helpful?

