バケーションレンタルのためのユニット構成
2026年1月予定:バケーションレンタル用ユニット構成スキーマの更新
バケーションレンタルの場合、Content API は、各 施設 の部屋とベッドのオプションに関する情報を含むunit_configurations というオブジェクトを返します。このオブジェクトを使用すると、部屋とベッドのオプションを視覚的に表示することができます。

その結果、APIが現在使用しているいくつかの属性は非推奨となります。
ユニット構成の更新
新しいバージョンのスキーマでは、unit_configurations オブジェクトに、より詳細な説明が含まれるようになりました:
multi-unitシナリオでは、より正確なユニット情報を受け取ることができます。例えば、現在のオブジェクトのキー
1やOther1の代わりに、新しいアプローチでは、各ユニットのキーの前に部屋IDを次のように付けます:231607625123_Bedroom1.ベッドタイプの数値は、オールキャップからよりコンパクトな構造へと変化しています。例えば
TWIN_SINGLE_BEDはTwinBedになります。利用可能な病床の説明は合理化されています。例えば、
Twin/Single bed(s) -はTwin Bed(s) -と読みます。
スキーマ変更の例
Multi-unitバケーションレンタル
この例では、multi-unit施設、3つの独立したユニットで構成され、各ユニットに1つのベッドルームがあります。
古いスキーマ
{
"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施設
この例は2ベッドルームの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の導入への影響についてご不明な点がございましたら、サポート窓口 までお問い合わせください。