Availability Rules Collection
API Methods to work with Availability Rules
Get List of Availabilty Rules
GET https://staging.channex.io/api/v1/channel_availability_rules?filter[property_id]={PROPERTY_ID}{
"data": [
{
"attributes": {
"id": "98a6b45d-49aa-4080-8bfc-9ec94fe24d81",
"type": "close_out",
"value": null,
"title": "Demo",
"days": [
"mo",
"tu",
"we",
"th",
"fr",
"sa",
"su"
],
"end_date": "2025-05-30",
"start_date": "2025-05-21",
"affected_channels": [
"a2a767c0-187a-4476-9b23-8cceebe917d4"
],
"affected_room_types": [
"61660d47-e87f-44b1-a095-f74f73cf6da2"
]
},
"id": "98a6b45d-49aa-4080-8bfc-9ec94fe24d81",
"type": "channel_availability_rule",
"relationships": {
"property": {
"data": {
"id": "18535b75-26a0-4716-ae99-0578006639c5",
"type": "property"
}
}
}
}
],
"meta": {
"total": 1,
"limit": 4,
"order_by": "inserted_at",
"page": 1,
"order_direction": "desc"
}
}Pagination
Returns
Get Availability Rule by ID
Returns
Create Availability Rule
Fields
Returns
Update Availability Rule
Fields
Returns
Remove Availability Rule
Last updated