變更記錄
以下是按釋出月份分組的 Rapid API 所有變更清單。
2026 年 5 月
周邊商品商店連結 -Merchandising |Shop |Feature | V3
在「商品促銷」回覆中新增了一個連結,點擊後可前往「住宿商店」,該連結中包含有關 所選促銷活動的相關資訊。
優勢: 合作夥伴將能透過此連結,在旅客預訂住宿時,了解旅客是針對哪項促銷活動做出回應。此舉將改善商品銷售表現的報告。
2026 年 1 月
信用卡款項追回 -Book |Feature | V3
新增了一個「付款變更」端點。若該預訂符合資格,則在 查詢結果中將顯示用於進行變更的連結。
優勢: 透過信用卡資料重新擷取功能,您可在必要時安全地更新付款資訊。例如,當在旅宿 Collect 住宿開始前不久,發現某種支付工具無效時。
2025 年 12 月
制裁篩查 -Book |Feature | V3
我們已新增一項功能,讓旅客在其姓名可能與政府制裁名單上的姓名相符時,可提交補充說明的敏感旅客資訊。對於出現在制裁名單上的姓名,其旅客身分識別詳情,可於預訂時,或稍後透過客房端點進行澄清。
效益:
這將有助於更快地解決問題,並在出現制裁相關問題時,為旅客提供更大的確定性。
可鎖定利率 -Shop |Feature | V3
Shop 請求中已為include 參數新增一項值 (rooms.rates.holdable),此舉將導致 回應中會回傳holdable 欄位中的資訊。這也會將「holdable」欄位新增至 priceCheck 的回應中。
Rapid 3 要求範例:
curl -X GET "https://test.ean.com/v3/properties/availability\
?checkin=2024-01-01\
&checkout=2024-01-03\
¤cy=USD\
&country_code=US\
&language=en-US\
&occupancy=2\
&property_id=19248\
&rate_plan_count=1\
&sales_channel=website\
&sales_environment=hotel_only\
&include=rooms.rates.holdable\
&travel_purpose=leisure" \
-H "accept: application/json"\
-H "accept-encoding: gzip"\
-H "authorization: EAN apikey=abcd1234,signature=090a77e7ddd7779980231,timestamp=1697664047"\
-H "user-agent: TravelNow/3.30.112"Rapid 3 回應範例:
[
{
"property_id": "19248",
"status": "available",
"rooms": [
{
"id": "123abc",
"room_name": "Fancy Queen Room",
"rates": [
{
"id": "333abc",
"status": "available",
...
"holdable": "true",
...
}
]
}
],
"links": { ... },
"score": 10052
}
]效益:
這將增加合作夥伴可預訂的房價選項數量。
2025 年 9 月
輸入提示 -Typeahead |Feature | Common
我們即將推出一款新的自動完成產品——輸入提示 API, 該產品可整合至 Rapid Lodging API 中。透過這個新的終端點,您可以根據地理區域、相關 地點以及可預訂的住宿設施,為旅客提供建議性搜尋體驗。
優惠: 這項新產品目前已向 Rapid Lodging API 合作夥伴開放,並將於近期擴展至 Rapid 其他旅遊業務領域。
2025 年 8 月
行銷費用詳情 -Shop |Book |Feature | V3
在 Shop 請求中為include 參數新增了一項值,此舉將使marketing_fee_details 物件 在 Shop 及 PriceCheck 的回應中被回傳。
在「檢索」請求中為 include` ` 參數新增了一項新值,這將導致「檢索」回應中會回傳 marketing_fee_details`` object。
Rapid 3 要求範例:
curl -X GET "https://test.ean.com/v3/properties/availability\
?checkin=2025-11-01\
&checkout=2025-11-03\
¤cy=USD\
&country_code=US\
&language=en-US\
&occupancy=2\
&property_id=19248\
&rate_plan_count=1\
&sales_channel=website\
&sales_environment=hotel_only\
&include=rooms.rates.marketing_fee_details\
&travel_purpose=leisure" \
-H "accept: application/json"\
-H "accept-encoding: gzip"\
-H "authorization: EAN apikey=abcd1234,signature=090a77e7ddd7779980231,timestamp=1697664047"\
-H "user-agent: TravelNow/3.30.112"Rapid 3 回應範例:
[
{
"property_id": "19248",
"status": "available",
"rooms": [
{
"id": "123abc",
"room_name": "Fancy Queen Room",
"rates": [
{
"id": "333abc",
"status": "available",
...
"pricing": {
...
"totals": {
...
"marketing_fee": {
"billable_currency": {
"value": "18.00",
"currency": "CAD"
},
"request_currency": {
"value": "12.00",
"currency": "USD"
}
},
...
},
...
"marketing_fee_details": {
"base": {
"billable_currency": {
"value": "3.50",
"currency": "CAD"
},
"request_currency": {
"value": "2.33",
"currency": "USD"
}
},
"overrides": {
"billable_currency": {
"value": "10.00",
"currency": "CAD"
},
"request_currency": {
"value": "6.67",
"currency": "USD"
}
},
"incentives": {
"billable_currency": {
"value": "1.50",
"currency": "CAD"
},
"request_currency": {
"value": "1.00",
"currency": "USD"
}
},
"other": {
"billable_currency": {
"value": "3.00",
"currency": "CAD"
},
"request_currency": {
"value": "2.00",
"currency": "USD"
}
}
}
}
}
]
}
],
"links": { ... },
"score": 10052
}
]效益:
合作夥伴將能更輕鬆地辨識特定的行銷費用。
周邊商品 -Shop |Merchandising |Feature | V3
新增了兩個端點,以支援商品推廣活動與促銷活動。「商品推廣 API」 服務提供各種行銷活動內容的存取權限,例如促銷電子郵件、App 小工具、網站橫幅,以及 輪播體驗。
優勢: 這些新的端點將使合作夥伴能更有效地運用 Expedia 的商品推廣活動與促銷方案。
2025 年 5 月
Check-out 使用說明 -Content |Feature | V3
在旅宿內容呼叫的instructions 欄位中,新增了一個字串欄位:checkout。新的 欄位將用於提供該旅宿的結帳政策與說明。
Rapid 3 回應範例: 並非所有房源都會提供退房說明,因此部分房源可能未填寫此欄位。
[
{
"property_id": "123456",
...
"checkout": {
"time": "11:00 AM",
"instructions": "The host requests you complete the following cleaning tasks before checking out:<br/>Load and start the dishwasher<br/>Strip any used beds, gather used towels, and store extra beds<br/>Remove personal items, remove leftover food and drinks, and take out the trash"
}
}
]優勢: 合作夥伴將能了解哪些住宿設有退房須知,以及具體內容為何,以便他們在旅客預訂前向其說明。
2025 年 4 月
虛擬信用卡處理 -Book |Feature | V3
我們現正徵集更多關於應如何指導旅宿使用 VCC 來處理旅宿預訂的相關資訊。
效益:
當住宿業者和供應商採用這些資訊後,便能提升針對使用虛擬 信用卡的預訂所提供的服務品質。
Expedia Collect 最新資訊 -Content |Feature | V3
在旅宿內容呼叫的「updated_expedia_collect」欄位中,新增了一個布林型欄位「business_model」。新的 欄位將用於標示 Expedia 是否能在預訂時收取此旅宿的款項, 以及若旅宿有義務提供增值稅發票,是否可向其索取該發票。
Rapid 3 回應範例: 所有updated_expedia_collect 值為true 的屬性,其expedia_collect 值也將為true。
[
{
"property_id": "123456",
...
"business_model": {
"expedia_collect": true,
"property_collect": false,
"updated_expedia_collect": true
}
}
]優勢: 合作夥伴將能了解哪些住宿設施可開立增值稅發票,這對於需要增值稅發票以辦理報銷手續的企業差旅人士而言,尤其有助益。
2025 年 2 月
現行退款政策 -Shop |Feature | V3
在 Shop 請求中為include 參數新增了一項值,此舉將導致回應中返回current_refundability。
Rapid 3 要求範例:
curl -X GET "https://test.ean.com/v3/properties/availability\
?checkin=2024-01-01\
&checkout=2024-01-03\
¤cy=USD\
&country_code=US\
&language=en-US\
&occupancy=2\
&property_id=19248\
&rate_plan_count=1\
&sales_channel=website\
&sales_environment=hotel_only\
&include=rooms.rates.current_refundability\
&travel_purpose=leisure" \
-H "accept: application/json"\
-H "accept-encoding: gzip"\
-H "authorization: EAN apikey=abcd1234,signature=090a77e7ddd7779980231,timestamp=1697664047"\
-H "user-agent: TravelNow/3.30.112"Rapid 3 回應範例:
[
{
"property_id": "19248",
"status": "available",
"rooms": [
{
"id": "123abc",
"room_name": "Fancy Queen Room",
"rates": [
{
"id": "333abc",
"status": "available",
...
"current_refundability": "partially_refundable",
...
}
]
}
],
"links": { ... },
"score": 10052
}
]效益:
合作夥伴將能更輕鬆地辨識費率中的current_refundability。
從 Region 回應中移除分頁標頭 -Content |Bug Fix | V3
已從「Region」回應架構中移除Pagination-Total-Results 標頭。這是架構中一個不正確的標頭 因為 Region 呼叫不會進行分頁,且此標頭從未出現在回應中。
2024 年 7 月
預訂收據 - Manage Booking | Feature | V3
現在,合作夥伴可以使用從行程擷取回應中的連結,從 Rapid API 的新端點擷取預訂收據。
Rapid 3 預訂收據要求範例:
curl -X GET "https://test.ean.com/v3/itineraries/8999989898988/invoice\
?token=MY5S3j36cOcLfLBZjPYQ1abhfc8CqmjmFVzkk7euvWaunE57LLeDgaxm516m"\
-H "accept: application/pdf"\
-H "customer-ip: 1.2.3.4"\
-H "accept-encoding: gzip"\
-H "authorization: EAN apikey=abcd1234,signature=090a77e7ddd7779980231,timestamp=1697664047"\
-H "user-agent: TravelNow/3.30.112"Rapid 3 回應範例:
回應將以 PDF 形式提供交易收據,且可分享給旅客。
效益:
現在,合作夥伴可取得易於使用的 API,當中會提供商務旅遊客戶的預訂收據,可用來向其雇主回報旅遊費用。
2024 年 6 月
新搜尋和篩選條件 - Content | Feature | V3
我們加入了新的要求參數,讓您能夠透過這個欄位縮小搜尋結果範圍:
trip_reason
此外,我們在要求中新增了篩選條件,可讓您移除不屬於所要求語言的評論。
Rapid 3 要求範例: 在此範例中,我們使用新的 filter 參數搭配 language 值,並使用新的 trip_reason 搜尋參數搭配 business 和 business_and_leisure 的值
curl -X GET "https://test.ean.com/v3/properties/12345/guest-reviews\
?language=en-US\
&filter=language\
&trip_reason=business\
&trip_reason=business_and_leisure" \
-H "accept: application/json"\
-H "accept-encoding: gzip"\
-H "authorization: EAN apikey=abcd1234,signature=090a77e7ddd7779980231,timestamp=1719329586"\
-H "user-agent: TravelNow/3.30.112"Rapid 3 回應範例: 在回應中,我們可以看到新的 stay_date 和 management_responses 欄位皆已顯示,而只有傳回的 trip_reason 值為 business 和 business_and_leisure 的評論。
{
"verified": {
"recent": [
{
...
"stay_date": "2026-02",
"trip_reason": "business",
...
},
{
...
"stay_date": "2026-01",
"trip_reason": "business_and_leisure",
...
"management_responses": [
{
"text": "Dear Guest, Thank you for your feedback. I hope we have the opportunity to welcome you back in the near future. Best regards, Kara (General Manager)",
"date": "2026-02-11T14:36:54Z"
}
]
}
]
}
}效益:
回應中回傳的額外欄位應提供更多上下文,並強化這些評論的價值。 想要縮小旅客評論搜尋範圍的合作夥伴,現在可將評論限制為單一語言,以及可為其提供最大價值的旅行原因。
2024 年 4 月
會員計畫 - Book | Shop | Feature | V3
我們正在增加新功能,讓您能更輕鬆尋找提供旅宿會員計畫相關積點機會的企業房價。
效益:
合作夥伴將擁有更強大的工具,協助商務旅客獲得旅宿會員計畫中的點數。
2024 年 1 月
行銷費用獎勵 - Shop | Feature | V3
為 Shop 要求的 include 參數新增一個數值,使 marketing_fee_incentives 物件將於回應中回傳。
Rapid 3 要求範例:
curl -X GET "https://test.ean.com/v3/properties/availability\
?checkin=2024-01-01\
&checkout=2024-01-03\
¤cy=USD\
&country_code=US\
&language=en-US\
&occupancy=2\
&property_id=19248\
&rate_plan_count=1\
&sales_channel=website\
&sales_environment=hotel_only\
&include=rooms.rates.marketing_fee_incentives\
&travel_purpose=leisure" \
-H "accept: application/json"\
-H "accept-encoding: gzip"\
-H "authorization: EAN apikey=abcd1234,signature=090a77e7ddd7779980231,timestamp=1697664047"\
-H "user-agent: TravelNow/3.30.112"Rapid 3 回應範例:
[
{
"property_id": "19248",
"status": "available",
"rooms": [
{
"id": "123abc",
"room_name": "Fancy Queen Room",
"rates": [
{
"id": "333abc",
"status": "available",
...
"marketing_fee_incentives": [
{
"source": "property",
"start": "2024-01-01",
"end": "2024-01-01"
}
],
...
}
]
}
],
"links": { ... },
"score": 10052
}
]效益:
合作夥伴將能更輕鬆地找出已套用特別獎勵的費率。
2023 年 11 月
新搜尋和篩選條件 - Content | Feature | V3
我們加入了新的要求參數,讓您能夠透過以下欄位縮小搜尋結果範圍:
all_inclusiveamenity_idattribute_idcategory_idspoken_language_id
此外,透過增加 include 參數的有效值數量,我們可以更詳細地指定您想要納入回應中的哪些部分。新值包括「內容」回應的所有頂層元素。
Rapid 3 要求範例: 在此範例中,我們使用了新的 amenity_id 搜尋參數,以及在 include 參數中使用了新的 name 和 amenities 值。
curl -X GET "https://test.ean.com/v3/properties/content\
?language=en-US\
&supply_source=expedia\
&amenity_id=115\
&include=name\
&include=amenities\
&property_id=1337\
&property_id=1" \
-H "accept: application/json"\
-H "accept-encoding: gzip"\
-H "authorization: EAN apikey=abcd1234,signature=090a77e7ddd7779980231,timestamp=1697664047"\
-H "user-agent: TravelNow/3.30.112"Rapid 3 回應範例: 在此回應中,我們可以看到傳回的只有旅宿 1337,因為旅宿 1 並沒有提供設施服務 ID 115。我們也可以看到回應中包含了 property_id、name 和 amenities。property_id 始終包含在回應中,且不需要指定為 include 要求 參數,除非它是回應中所需的唯一欄位。
{
"1337": {
"property_id": "1337",
"name": "Hyatt Regency Paris Etoile",
"amenities": {
"8": {
"id": "8",
"name": "Elevator"
},
"43": {
"id": "43",
"name": "Concierge services"
},
"115": {
"id": "115",
"name": "Bicycle rentals nearby"
},
"361": {
"id": "361",
"name": "Breakfast available (surcharge)"
},
...
}
}
}效益:
合作夥伴如需尋找更具體的特定旅宿以及更具體的回應欄位,現在可以針對他們與 Rapid「內容」API 的互動進行最佳化。具體指定需要哪些內容時,合作夥伴同時也讓 Rapid 團隊了解他們使用了哪些「內容」,因此讓團隊得知哪些資訊對合作夥伴而言具有價值。
行動裝置專屬促銷優惠情境 - Shop | Feature | V3
要變更要求,請將 sale_scenario.mobile_promotion 值加入 include 參數中,以獲得供應情況和購物的資訊。
要變更回應,請將 room.rate.sale_scenario.mobile_promotion 欄位加入供應情況、其他房價和購物的資訊。
Rapid 3 要求範例:
curl -X GET "https://test.ean.com/v3/properties/availability\
?checkin=2024-01-01\
&checkout=2024-01-03\
¤cy=USD\
&country_code=US\
&language=en-US\
&occupancy=2\
&property_id=19248\
&rate_plan_count=1\
&sales_channel=mobile_app\
&sales_environment=hotel_only\
&include=sale_scenario.mobile_promotion\
&travel_purpose=leisure" \
-H "accept: application/json"\
-H "accept-encoding: gzip"\
-H "authorization: EAN apikey=abcd1234,signature=090a77e7ddd7779980231,timestamp=1697664047"\
-H "user-agent: TravelNow/3.30.112"Rapid 3 回應範例:
[
{
"property_id": "19248",
"status": "available",
"rooms": [
{
"id": "123abc",
"room_name": "Fancy Queen Room",
"rates": [
{
"id": "333abc",
"status": "available",
...
"sale_scenario": {
"package": false,
"member": false,
"corporate": false,
"distribution": false,
"mobile_promotion": false
},
...
}
]
}
],
"links": { ... },
"score": 10052
}
]效益:
若合作夥伴想要更輕鬆地確定哪些房價與行動裝置專屬促銷優惠有所關聯,他們現在有了新的方法可達成。
新公車站 Region 類型 - Geography | Feature | V3
將 bus_station 地區類型加入到 Region 端點的要求中。Region 和 Regions 現在都將提供有關 bus_station 類型的地區資料。
Rapid 3 要求範例:
curl -X GET "https://test.ean.com/v3/regions\
?include=standard\
&language=en-US\
&supply_source=expedia\
&type=bus_station" \
-H "Accept: application/json" \
-H "Authorization: EAN apikey=1234,signature=14140287ea6ea1396b18b,timestamp=1697826383" \
-H "Accept: application/json" \
-H "Accept-Encoding: gzip" \
-H "User-Agent: TravelNow/3.30.112"Rapid 3 回應範例:
[
{
"id": "11234754",
"type": "bus_station",
"name": "Port Authority Bus Terminal",
"name_full": "Port Authority Bus Terminal",
"country_code": "US"
}
]效益:
合作夥伴可以在其網站上為旅客提供公車站資訊。
2023 年 10 月
「內容」裡的出租度假屋 IPM 名稱 - Content | Feature | V3
vacation_rental_details.ipm_name欄位新增到「旅宿內容」回應。
Rapid 3 回應範例:
{
"4687248": {
"property_id": "4687248",
"name": "Beautiful 6 Bedroom Home With Two Pools, Only 10 minutes To Theme Park!",
"address": { ... },
...
"fees": {
"traveler_service": "Your credit card statement will show two separate charges, one for the booking amount and property fees and another for the service fee. Both will be charged by Expedia partner Good Company.. The traveler service fee is refundable only when your entire booking is fully refundable. Please refer to the terms and conditions for the rules applicable to the booking facilitation services provided."
},
"attributes": { ... },
...
"vacation_rental_details": {
"private_host": true,
...
"vrbo_srp_id": "334.3634257.3458973",
"listing_id": "1252577",
"listing_number": "3834275",
"listing_source": "VRBO",
"listing_unit": "/units/0001/429ecad2-bade-429a-a427-8adee57420ec",
"ipm_name": "Good Company",
"unit_configurations": { ... },
"enhanced_house_rules": { ... },
"free_text": "Stunning brand new 2-story home with 6 bedrooms, 4 bathrooms, brand new appliances/furniture, game room, grill, patio, and beautiful scenery all around. Minutes from Super Cool Lake. This place is the perfect getaway for a larger group whether it be a golf trip, lake trip, or time to gather with the family. Please note this property has two parking stalls, in addition to first come first serve overflow parking in the community. Celebrating something special? Birthday, Anniversary, Bachelor/Bachelorette, etc? We also offer decorating services for an extra fee. Please inquire within! This home features a fully-equipped kitchen for preparing meals, onsite washer and dryer and most importantly a private space, much larger than a hotel room for private family time away from crowds and people. We have a self-check-in and check-out system to limit your contact with people as well. THE BASICS: 6 bedrooms & 1 loft - 5 Kings, 2 Bunk beds , and 1 pull-out couch in the loft - Sleeps 16 people. 4 Bathrooms - Master (jetted tub, walk-in shower, double sinks), other 3 bathrooms (tub/shower combo & sink). Fully Equipped Kitchen. Open Main Room with plenty of seating. Dining Room table and bar stools around kitchen island area. Plenty of space to spread out and enjoy your friends/family. Free Wifi. THE EXPERIENCE IN DETAIL: -As you walk in the front door and are greeted by the open floor layout of our kitchen and great room you immediately breathe easy seeing that there is plenty of room here for you and your family. Our Kitchen is stocked with plenty of cookware and dishes so you can create a huge breakfast that will get everyone out of bed and ready for a day of fun. A potted coffee maker and a Keurig is available. You will need to bring your own coffee/pods/filters/creamer etc. Cozy up in the living room for a late night movie on our large flat-screen TV equipped for your viewing pleasure. Our luxury Master bedroom with it’s King size bed, premium bedding, and TV invite you and your spouse to relax together and feel a little spoiled. This is a vacation after all! Enjoy our Master Bath with it’s jetted tub, walk-in shower, and double sinks. Explore the Upstairs which has 4 Bedrooms - 3 furnished with a King size bed, premium bedding, 1 is the bunk room which is equipped with 4 twin size beds. This home is not handicapped accessible!!!"
},
"supply_source": "Vrbo",
"spoken_languages": { ... }
}
}效益:
銷售 Vrbo 供應的合作夥伴需要 IPM 名稱來建構旅客訊息,通知他們有哪位 IPM 將收取他們的信用卡款項和/或寄送確認電子郵件。目前這項資訊包含在 fees.traveler_service 的內容段落裡。
擷取回應中的行銷費用 - Manage Booking | Feature | V3
於擷取時在擷取回應中新增room.rate.pricing.totals.marketing_fee的估計值。
Rapid 3 回應範例:
{
"itinerary_id": "8999989898988",
"property_id": "8150374",
...
"rooms": [
{
"id": "926784314",
"confirmation_id": { ... },
...
"status": "booked",
...
"rate": {
"id": "035943984",
"merchant_of_record": "expedia",
...
"pricing": {
"nightly": [ ... ],
"stay": [ ... ],
"totals": {
"inclusive": { ... },
"exclusive": { ... },
"marketing_fee": {
"billable_currency": {
"value": "7.75",
"currency": "USD"
}
},
"property_fees": { ... }
},
"fees": { ... }
}
},
"links": { ... }
}
],
"billing_contact": { ... },
...
}效益:
合作夥伴可在預訂完成有價差變更後看到 marketing_fee 的更新值。
2023 年 9 月
擷取中的旅遊目的 - Manage Booking | Feature | V3
將 travel_purpose 已儲存的數值加入行程擷取回應中。
Rapid 3 回應範例:
{
"itinerary_id": "8999989898988",
"property_id": "8150374",
...
"conversations": {...}
"travel_purpose": "leisure",
"trader_information": {...}
}效益:
合作夥伴可查看與旅宿溝通的數值,以了解旅客是商務旅行或休閒旅行。
2023 年 7 月
停用的旅宿 - Content | Feature | V3
新增停用旅宿端點。
Rapid 3 要求範例:
https://test.ean.com/v3/properties/inactive?since=2023-07-12Rapid 3 回應範例:
[
{
"property_id": "15316"
},
{
"property_id": "15362666"
},
{
"property_id": "15462554"
},
{
"property_id": "1614382"
},
{
"property_id": "18762476"
}
]效益:
合作夥伴將能夠快速輕鬆地從其快取內容中移除旅宿,也可以知道不再對哪些旅宿發送供應情況要求。
旅遊目的指示器 - Shop | Feature | V3
為供應情況要求新增 travel_purpose 參數。
Rapid 3 要求範例:
供應情況要求的新參數:
travel_purpose=business
效益:
合作夥伴將能夠了解旅客是商務旅行或休閒 旅行。
無法提供的原因 - Shop | Feature | V3
將 include 參數新增到供應情況要求中,其值為 unavailable_reason,以要求回應包含具有未回傳房價的可操作原因之旅宿項目。
Rapid 3 要求範例:
供應情況要求的新參數:
include=unavailable_reason
效益:
合作夥伴將能夠在購物結果中包含為何無法提供該旅宿的相關資訊。
設施服務類別搜尋 - Shop | Feature | V3
為供應情況要求新增 amenity_category 參數。
Rapid 3 要求範例:
供應情況要求的新參數:
amenity_category=wifi
效益:
合作夥伴將能夠搜尋包含具有相符類別設施服務的房價。
包含刪除線 - Shop | Feature | V3
新增 inclusive_strikethrough 的定價資訊。
Rapid 3 回應範例:
[
{
"property_id": "19248",
"rooms": [
{
"id": "123abc",
"room_name": "Fancy Queen Room",
"rates": [
{
"id": "333abc",
...
"occupancy_pricing": {
"2": {
"nightly": [ ... ],
"stay": [ ... ],
"totals": {
"inclusive": { ... },
"exclusive": { ... },
"inclusive_strikethrough": {
"billable_currency": {
"value": "726.63",
"currency": "CAD"
},
"request_currency": {
"value": "549.60",
"currency": "USD"
}
},
"strikethrough": { ... },
"marketing_fee": { ... },
"gross_profit": { ... },
"minimum_selling_price": { ... },
"property_fees": { ... }
},
"fees": { ... }
}
}
}
]
}
]
}
]效益:
合作夥伴將能夠透過飯店資助的折扣 (包括稅金和其他費用) 針對費用節省進行銷售。
2023 年 6 月
有價差變更 - Book | Feature | V3
新增全新的有價差變更端點,並散佈至 Rapid。
效益
合作夥伴現在可以透過 Rapid API 代表其旅客修改預訂。
行程歷史記錄 - Book | Feature | V3
行程歷史記錄資訊已新增至行程搜尋與行程擷取呼叫。
效益
合作夥伴現在可以在行程搜尋與行程擷取過程中,擷取與建立作業、有價差變更和取消相關的行程歷史記錄詳情。
2023 年 4 月
VRBO 屋主自行輸入說明文字 - Content | Feature | V3
將 free_text 新增到旅宿內容回應的 vacation_rental_details 部分。
Rapid 3 結構描述範例:
{
"12345": {
"property_id": "12345",
"name": "Test Property Name",
"phone": "1-417-862-0153",
"vacation_rental_details": {
"free_text": "Free form description and explanation of property provided by the host.Can possibly contain html break tags.",
"listing_id": "1237874"
}
}
}請注意:範例所示僅為部分,非所有旅宿內容回應。
效益
合作夥伴可在其網站上顯示更多屋主提供的出租度假屋旅宿相關訊息。
進階地區搜尋 - Geography | Feature | V3
新增以下搜尋參數:
area使用半徑和 (經緯度) 座標或地區 ID 來定義區域limit限制傳回的結果數量country_subdivision_code傳回符合 ISO 3166-2 國家/地區分區代碼的結果
將 country_subdivision_code 新增至 Regions 和 Region 的回應
效益
合作夥伴可以選擇與其所定義區域相交的地區。
搜尋某經緯度座標半徑 50 公里內的機場:
type=airport&limit=3&area=50,37.227924,93.310036OpenAPI 規格改良 - Update | V3
OpenAPI 規格有以下幾個改良的地方:
- 日期加上引號,如此一來便會正確顯示在 API Explorer
- 再次修改 BoundingPolygon,以提高和 Java 客戶端產生代碼的相容性
- 改良引用 ISO 標準 (例如 ISO 639-1 alpha-2 和 ISO 3166-1 alpha-2)
此變更不影響 API 功能,僅改良 OpenAPI 規格。
效益
對使用下載的 OpenAPI 規格 yaml 檔案的合作夥伴而言,不但增加 API Explorer 的功能,更提高相容性。
2023 年 1 月
排除含可退款的損壞保證金之房價 - Shop | Feature | V3
為供應情況要求新增 exclusion 參數。
Rapid 3 要求範例:
「購物」要求的新參數:
exclusion=refundable_damage_deposit
效益:
合作夥伴可指定回應中不包括含可退款損壞保證金的房價。
明確的地理 Polygon 和範例 - Geography | Update | V3
規格中對於座標要求和回應中「多邊分界」格式的細節有不正確的描述。因此將範例更新為可供 API Explorer 使用的地理端點。
此變更不影響 API 功能,僅修正 OpenAPI 規格。
Rapid 3 結構描述範例:
以下為一地區回應的截圖範例:
"coordinates": {
"center_longitude": -93.29277,
"center_latitude": 37.207935,
"bounding_polygon": {
"type": "Polygon",
"coordinates": [
[
[
-93.298931,
37.205162
],
[
-93.28672,
37.205299
],
[
-93.286549,
37.21005
],
[
-93.286763,
37.210221
],
[
-93.298931,
37.205162
]
]
]
}
},效益:
該規格現在準確地反映地區可傳回多邊分界 (Polygon) 和 多重多邊形 (MultiPolygon) 物件,也為多邊分界搜尋提供準確的結構描述和範例。
2022 年 12 月
Vrbo 供應情況行事曆 - Shop | Feature | V3
新增 Vrbo 供應情況行事曆端點,即 /calendars/availability。
Rapid 3 結構描述範例