Rate Plans Collection
API methods to work with Rate Plans
Rate Plans List
GET https://staging.channex.io/api/v1/rate_plans{
"data": [
{
"type": "rate_plan",
"id": "bab451e7-9ab1-4cc4-aa16-107bf7bbabb2",
"attributes": {
"id": "bab451e7-9ab1-4cc4-aa16-107bf7bbabb2",
"title": "Best Available Rate",
"sell_mode": "per_room",
"rate_mode": "manual",
"currency": "GBP",
"children_fee": "0.00",
"infant_fee": "0.00",
"max_stay": [0, 0, 0, 0, 0, 0, 0],
"min_stay_arrival": [1, 1, 1, 1, 1, 1, 1],
"min_stay_through": [1, 1, 1, 1, 1, 1, 1],
"closed_to_arrival": [false, false, false, false, false, false, false],
"closed_to_departure": [false, false, false, false, false, false, false],
"stop_sell": [false, false, false, false, false, false, false],
"options": [
{
"occupancy": 3,
"is_primary": true,
"derived_option": null,
"rate": 0
}
],
"inherit_rate": false,
"inherit_closed_to_arrival": false,
"inherit_closed_to_departure": false,
"inherit_stop_sell": false,
"inherit_min_stay_arrival": false,
"inherit_min_stay_through": false,
"inherit_max_stay": false,
"inherit_availability_offset": false,
"inherit_max_sell": false,
"inherit_max_availability": false,
"auto_rate_settings": null,
"meal_type": "none"
},
"relationships": {
"room_type": {
"data": {
"type": "room_type",
"id": "994d1375-dbbd-4072-8724-b2ab32ce781b"
}
},
"property": {
"data": {
"type": "property",
"id": "716305c4-561a-4561-a187-7f5b8aeb5920"
}
}
}
}
],
"meta": {
"page": 1,
"total": 1,
"limit": 10
}
}Pagination
Returns
Rate Plan Options
GET https://staging.channex.io/api/v1/rate_plans/options?filter[property_id]={property_id}{
"data": [
{
"attributes": {
"id": "bab451e7-9ab1-4cc4-aa16-107bf7bbabb2",
"occupancy": 3,
"parent_rate_plan_id": null,
"property_id": "716305c4-561a-4561-a187-7f5b8aeb5920",
"rate_category_id": null,
"room_type_id": "994d1375-dbbd-4072-8724-b2ab32ce781b",
"sell_mode": "per_room",
"title": "Best Available Rate"
},
"id": "bab451e7-9ab1-4cc4-aa16-107bf7bbabb2",
"type": "rate_plan"
}
]
}Get Rate Plan by ID
Returns
Create Rate Plan
Fields
Occupancy Options
Derived Options
Returns
Examples
Update Rate Plan
Fields
Returns
Remove Rate Plan
Flags
Returns
Last updated