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

Get Inventory Status

To get status of the items in your inventory.

Before Fetching Stock Details, Add Medicines to Your Inventory

Inventory Status:

POST {{apiUrl}}doctor/medicines/get_inventory_status

Request Body

Name
Type
Description

apikey*

String

Authentication Token

medicine_ids

String

Stringified Array of medicine_ids.​

medicine_ids should contain at least 2 medicine_ids.​

i.e.["z5s5a+e/Cj4ip7sUl2zJFQ==", "otUfMtG4nIpWSc+oWoX7Lw=="]

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2022-12-08 16:50:09",
    "data": [
        {
            "medicine_id": "otUfMtG4nIpWSc+oWoX7Lw==",
            "chemist_id": "pR/skynRizeVxF1blGRVMw==",
            "quantity": 1380, // Current Quantity
            "mrp": 24,
            "lock_discount": "no", // Default discount if any
            "sell_in_loose": "yes",
            "cess_percentage": 0,
            "gst_percentage": 12
        }
    ]
}
{
    "status_code": "0",
    "status_message": "Invalid medicine key",
    "datetime": "2022-12-07 11:15:44",
    "data": null
}

Last updated

Was this helpful?