Get Stock details

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

Product Details

POST https://api.evitalrx.in/v1/patient/medicines/get_inventory_status

Request Body

NameTypeDescription

apikey*

String

Authentication Token

medicine_ids*

String

Stringified Array of medicine_ids.

medicine_ids should contain at least 1 medicine_ids.

Example:

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

{
  "status_code": "1",
  "status_message": "Success",
  "datetime": "2024-04-25 12:53:46",
  "data": {
    "results": [
      {
        "medicine_id": "TF7Wm49nceLV+NmoM6HJYw==",
        "loose_quantity": 2010,   // quantity at parent chemist or HO
        "strip_quantity": 201,
        "availability": [
          {
            "chemist_id": "qgOgKbBh6UrMJfLyTMtEOw==",
            "chemist_code": "C0065",
            "loose_quantity": 1158,  // quantity at child chemist or Branch
            "strip_quantity": 115
          },
          {
            "chemist_id": "Rzraa93BrrDK9KEVXmPHEQ==",
            "chemist_code": "C0065",
            "loose_quantity": 1160,
            "strip_quantity": 116
          },
          {
            "chemist_id": "M3FvgrgA14Rr2SGTeY7Icw==",
            "chemist_code": "C0065",
            "loose_quantity": 1980,
            "strip_quantity": 198
          },
          {
            "chemist_id": "81PuG89qeGla7moarByvUA==",
            "chemist_code": "C0065",
            "loose_quantity": 1000,
            "strip_quantity": 100
          },
          {
            "chemist_id": "4mtv5aog/Bi0+0q7IsEcRg==",
            "chemist_code": "C0065",
            "loose_quantity": 100,
            "strip_quantity": 10
          }
        ]
      },
      {
        "medicine_id": "iLlokdPAdebp7RYKR5WpnQ==",
        "loose_quantity": 20,
        "strip_quantity": 2,
        "availability": []
      },
      {
        "medicine_id": "M6rdmJ2RYkfkgk+6tEtJmg==",
        "loose_quantity": 1,
        "strip_quantity": 1,
        "availability": []
      }
    ]
  }
}

Last updated