Room Types Collection
API methods to work with Room Types
Room Types List
GET https://staging.channex.io/api/v1/room_types{
"data": [
{
"type": "room_type",
"id": "994d1375-dbbd-4072-8724-b2ab32ce781b",
"attributes": {
"id": "994d1375-dbbd-4072-8724-b2ab32ce781b",
"title": "Standard Room",
"occ_adults": 3,
"occ_children": 0,
"occ_infants": 0,
"default_occupancy": 2,
"count_of_rooms": 20,
"room_kind": "room",
"capacity": null,
"content": {
"description": "Some Room Type Description Text",
"photos": [
{
"author": "Author Name",
"description": "Room View",
"id": "198a19d4-42c0-48d8-a55c-c7836b2c1f7e",
"kind": "photo",
"position": 0,
"property_id": "716305c4-561a-4561-a187-7f5b8aeb5920",
"room_type_id": "994d1375-dbbd-4072-8724-b2ab32ce781b",
"url": "https://img.channex.io/af08bc1d-8074-476c-bdb7-cec931edaf6a/"
}
]
}
},
"relationships": {
"facilities": {
"data": []
},
"property": {
"data": {
"type": "property",
"id": "716305c4-561a-4561-a187-7f5b8aeb5920"
}
}
}
}
],
"meta": {
"page": 1,
"total": 1,
"limit": 10
}
}Pagination
Filter
Returns
Room Type Options
Get Room Type by ID
Returns
Create Room Type
Fields
Returns
Update Room Type
Fields
Returns
Decrease occupancy options and connected channels
Remove Room Type
Flags
Returns
Last updated