度假租賃單位配置
2026 年 1 月即將推出:度假租賃單位配置架構更新
針對度假租賃,內容 API () 會返回名為unit_configurations 的物件,其中包含客房的相關資訊,以及每個旅宿的床位選項。使用此物件可讓您視覺化顯示客房及床位選項。

我們將在未來數月內對 API 進行若干更新,因此 API 目前使用的某些屬性將被廢棄。
單元配置更新
在新版本的架構中,unit_configurations 物件現已包含更詳細的描述:
在「multi-unit」情境中,您將獲得更精確的單位資訊。例如,與其使用當前的物件鍵值
1或Other1,新方法會在每個單元的鍵值前附加客房識別碼,如下所示:231607625123_Bedroom1床型值的格式正從全大寫字母轉換為更緊湊的結構。例如
TWIN_SINGLE_BED將轉為TwinBed。可用床位的描述正在進行簡化。例如,
Twin/Single bed(s) -現在只會讀取Twin Bed(s) -。
映射遺留單元配置
legacy_type | legacy_description | new_type | new_description |
|---|---|---|---|
BUNK_BED | Bunk bed(s) - | BunkBed | Bunk Bed(s) - |
CHILD_BED | Child bed(s) - | ChildBed | Child Bed(s) - |
DOUBLE_BED | Double bed(s) - | FullBed | Double Bed(s) - |
KING_BED | King bed(s) - | KingBed | King Bed(s) - |
MURPHY_BED | Murphy bed(s) - | MurphyBed | Murphy Bed(s) - |
| 無資料 | 無資料 | Crib | Crib(s) - |
| 無資料 | 無資料 | CribFixed | Crib(s) - |
| 無資料 | 無資料 | DayBed | Day Bed(s) - |
| 無資料 | 無資料 | Futon | Futon(s) - |
| 無資料 | 無資料 | TwinXLBed | Large Twin Bed(s) - |
| 無資料 | 無資料 | SofaBedExtra | Sofa Bed(s) - |
| 無資料 | 無資料 | TrundleBed | Trundle Bed(s) - |
| 無資料 | 無資料 | WaterBed | Water Bed(s) - |
QUEEN_BED | Queen bed(s) - | QueenBed | Queen Bed(s) - |
SLEEP_SOFA_FUTON | Sleep sofa/futon(s) - | SofaBed | Sofa Bed(s) - |
TWIN_SINGLE_BED | Twin/Single bed(s) - | TwinBed | Twin Bed(s) - |
模式變更範例
Multi-unit 度假租賃
此範例展示一間位於 multi-unit 的度假租屋旅宿,由三個獨立單元組成,每間均設有一間臥室。
舊架構
{
"property_id": "49154578123",
"vacation_rental": {
"unit_configurations": {
"1": [
{
"quantity": 1,
"description": "King bed(s) - ",
"type": "KING_BED"
}
],
"2": [
{
"quantity": 2,
"description": "Queen bed(s) - ",
"type": "QUEEN_BED"
},
{
"quantity": 1,
"description": "Sleep sofa/futon(s) - ",
"type": "SLEEP_SOFA_FUTON"
}
],
"3": [
{
"quantity": 1,
"description": "Sleep sofa/futon(s) - ",
"type": "SLEEP_SOFA_FUTON"
}
]
}
}
}新架構
{
"property_id": "491545781237",
"vacation_rental": {
"unit_configurations": {
"831607625124_Bedroom1": [
{
"quantity": 1,
"description": "King Bed(s) - ",
"type": "KingBed"
}
],
"831607648123_Bedroom1": [
{
"quantity": 2,
"description": "Queen Bed(s) - ",
"type": "QueenBed"
},
{
"quantity": 1,
"description": "Futon(s) - ",
"type": "Futon"
}
],
"231607641239123_Bedroom1": [
{
"quantity": 1,
"description": "Futon(s) - ",
"type": "Futon"
}
]
}
}
}Two-bedroom Vrbo 旅宿
此範例展示一間擁有兩間臥室的 Vrbo 房源旅宿。
舊架構
{
"property_id": "721545781234",
"vacation_rental": {
"unit_configurations": {
"1": [
{
"quantity": 1,
"description": "King bed(s) - ",
"type": "KING_BED"
}
],
"2": [
{
"quantity": 2,
"description": "Queen bed(s) - ",
"type": "QUEEN_BED"
},
{
"quantity": 1,
"description": "Sleep sofa/futon(s) - ",
"type": "SLEEP_SOFA_FUTON"
}
]
}
}
}新架構
{
"property_id": "721545781234",
"vacation_rental": {
"unit_configurations": {
"6516076251239_Bedroom1": [
{
"quantity": 1,
"description": "King Bed(s) - ",
"type": "KingBed"
}
],
"6516076251239_Bedroom2": [
{
"quantity": 2,
"description": "Queen Bed(s) - ",
"type": "QueenBed"
},
{
"quantity": 1,
"description": "Futon(s) - ",
"type": "Futon"
}
]
}
}
}若您對這些變更或其對 Rapid 實作的影響有任何疑問,請透過聯絡支援團隊。