Get Categories

Get the Product categories list.

Get Categories

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

Request Body

NameTypeDescription

apikey*

String

Authentication token

searchstring

String

If searchstring passed, it will fetch relevant categories.

Min len: 3

Max len: 20

page

Number

Default: 1


{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2023-10-03 17:34:23",
    "data": {
        "current_page": 1,
        "rpp": 5,
        "results": [
            {
                "id": "mB3b+VF0xsD9XnRkj0evHQ==",
                "category_name": "Personal Care",
                "category_picture": "https://d2ffmswuyj0h1d.cloudfront.net/storage/extra/cosmetic/default.jpg"
            },
            {
                "id": "x+hOdgFr9YalM4JTGrgOhg==",
                "category_name": "Fitness & Supplements",
                "category_picture": "https://d2ffmswuyj0h1d.cloudfront.net/storage/extra/cosmetic/default.jpg"
            },
            {
                "id": "ibqdoR3lz+/fQXQnibWPCA==",
                "category_name": "Health Devices",
                "category_picture": "https://d2ffmswuyj0h1d.cloudfront.net/storage/extra/cosmetic/default.jpg"
            },
            {
                "id": "q7dxGR/3f2J95UbkkQniNA==",
                "category_name": "Pet Care",
                "category_picture": "https://d2ffmswuyj0h1d.cloudfront.net/storage/extra/cosmetic/default.jpg"
            },
            {
                "id": "lCLRl5M5V0FsPEy0b37WUQ==",
                "category_name": "Healthcare Devices",
                "category_picture": "https://d2ffmswuyj0h1d.cloudfront.net/storage/extra/cosmetic/default.jpg"
            }
        ]
    }
}

Last updated