GET/subcategory/

Get Subcategory

This API retrieves a list of available sub-categories in the system.

- Requires Bearer Token Authentication.
- Returns sub-category details such as sub-category ID and name.
GET/subcategory/

Responses

StatusMeaningDescriptionSchema
200OKOK
400Bad RequestBad RequestNone
401UnauthorizedUnauthorizedNone
429Too Many RequestsToo Many RequestsNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X GET /subcategory/ \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response
[
  {
    "subCategoryCode": 101,
    "subCategory": "Luxury Hotels"
  }
]

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.