Categories Catalog
The categories endpoint provides access to hotel category catalog data for classification and filtering.
Endpoint
POST /content/hotels/v1/categories
Use Cases
Get All Categories
{
"query": {}
}
Filter by Connection
{
"query": {
"connectionCode": "CONN_1"
}
}
Response Structure
{
"categories": {
"categories": [
{
"code": "CAT-001",
"categoryCode": "CAT-001",
"description": "Luxury Hotels",
"language": "en",
"texts": [
{
"text": "Luxury Hotels",
"languageCode": "en"
}
]
}
],
"count": 1,
"token": null
}
}
Using Categories
Categories can be used to:
- Filter hotels by type
- Display hotel classifications
- Build category-based navigation
Next Steps
- Content API Reference - Complete endpoint documentation
- Hotels Catalog - Get hotel information
- Content Overview - Learn about Content API