For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Product Batch

To get item batches in your inventory by unique medicine Id.

Product Batches

POST {{apiUrl}}patient/medicines/search_medicine_by_batch

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

batch_name

String

Batch Name of the Product.

If batch_name is provided, then only that batch information will come.

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2023-06-05 14:10:19",
    "data": [
        {
            "medicine_id": "buuFcMkpKTXqj7rxexDKew==",
            "id": "ApDrCEwcuRDrKJbu5dD5ww==", // Uniuqe ID of Batch
            "batch": "BG015",
            "expiry": "2024-05-01",
            "mrp": 30.91,
            "price_to_retailer": 18,
            "quantity": 185,
            "cess_percentage": 0,
            "gst_percentage": 5,
            "margin": 10.75,
            "landing_price": 19.86,
            "expiry_label": "05/24",
            "margin_amount": 11.05,
            "margin_percentage": 35.75
        }
    ]
}

Last updated