Get Product Batch
To get item batches in your inventory by unique medicine Id.
Product Batches
POST
{{apiUrl}}doctor/medicines/get_batches
Get Product Batches available in your inventory by Medicine Key.
Request Body
Name
Type
Description
apikey*
String
Authentication Token
medicine_id*
String
Unique id of the product
{
"status_code": "1",
"status_message": "Success",
"datetime": "2022-12-08 15:11:10",
"data": [
{
"medicine_id": "otUfMtG4nIpWSc+oWoX7Lw==",
"id": "o5+9ckBfrNDerV+gyQmOCQ==", // Batch ID
"batch": "ABC",
"expiry": "2025-12-01",
"mrp": 24,
"price_to_retailer": 15,
"quantity": 1230,
"expiry_label": "12/25"
},
{
"medicine_id": "otUfMtG4nIpWSc+oWoX7Lw==",
"id": "/GuD64lAIn9WMiGQGFUuaA==",
"batch": "PQR",
"expiry": "2026-12-01",
"mrp": 24,
"price_to_retailer": 15,
"quantity": 150,
"expiry_label": "12/26"
}
]
}
Last updated
Was this helpful?