Get Drugs

Returns a list of drugs

image-png-Mar-22-2024-01-25-37-4158-PM /drugs

https://api.oauth.pabau.com/{api_key}/drugs

 

Request

Query Parameters:  
api_key *  
per_page (int) Number of records per page. Default 20, maximum 50
page (int) Page number. If not provided will return the first fetched
order ASC or DESC. Default DESC
search Filters drugs by searching for a specific drug name.

 

 

Response sample

application/json

{
   "status":true,
 "total":4,
   "drugs":[
      {
       "id":1,
       "drug_name":"Drug 1"
      },
      {
       "id":2,
       "drug_name":"Drug 2"
      },
      {
       "id":3,
       "drug_name":"Drug 3"
      },
      {
       "id":4,
       "drug_name":"Drug 4"
      }
   ]
}