有價差變更

透過 Rapid 的「有價差變更 API」,合作夥伴為旅客提供自助服務選項時,無需取消和重新預訂即可調整預訂的重要詳情。

**請注意:**有價差變更是一項全新產品優惠,目前僅供數量有限的合作夥伴使用。不過,此產品很快就會開放給所有合作夥伴使用。

簡介

彈性是旅客相當重視的服務特質,為需要更改預訂的旅客打造無縫體驗至關重要。

預訂完成後,隨著旅行計劃的改變,旅客經常需要調整預訂的重要詳情,而這類可能會影響旅遊成本的變更,就稱為有價差變更。透過 Rapid 的「有價差變更 API」,旅客便能輕易地進行這類變更,即使此舉會影響其預訂的最終成本。

使用「有價差變更 API」,合作夥伴能夠同時或單獨進行日期變更、房型變更和入住人數變更。

Rapid 的「有價差變更 API」有助於實現以下變更類型:

  • 未來可以調整日期或完全替換新的日期範圍。但請注意,全新的入住日期不得超過原預訂日期後一年。
  • 原始預訂的房型可以升級或降級,即房型可以完全更改。
  • 可以增加或減少入住人數。
  • 可供應客房的入住日期和入住人數 (以參數傳遞) 可同時更改。

預訂單一客房後,均可於尚未入住前進行上述變更。這包括在入住當日辦理手續前進行變更,但可能會產生罰款。請注意,當罰款等於原預訂金額時,系統對於不得退款的預訂,將不會出現變更選項;這項規定由旅宿決定。

如此一來,合作夥伴便可提供更靈活的自助服務功能,並藉由旅遊彈性減少人工作業時間,同時確保良好的旅客體驗。該解決方案非常彈性,可以外掛至客服專員/服務工具以及面向旅客的網站、應用程式中。

此外,您還可以使用行程歷史記錄功能,查看對預訂所做的所有變更記錄。

有價差變更的優點

**加速解決預訂變更並留住您的旅客:**代理商不再需要登入單獨的工具或致電 Expedia Group,進而節省時間和服務成本。此外,透過避免完全取消預訂,旅客不會感到需要重新啟動購物流程,這樣您就不太可能流失旅客,讓他們轉而向競爭對手預訂。

**保留最後空房,並盡可能維持原價:**旅客花時間為自己的旅行選擇合適的旅宿。對於部分旅宿,有價差變更保留了原本的客房,這表示不會有失去最後空房的風險。雖然我們無法保證每晚價格不會變動,但如果旅宿允許,旅客仍有機會收到與原始預訂相同的每晚價格。

**透過保持行程 ID 一致來改善旅客體驗:**透過有價差變更,您可以保留原始行程編號,較不易造成您和旅客混淆。

運作方式

  • 擷取行程以查看預訂是否適用有價差變更。如果適用的話,shop_for_change記號化連結將顯示在行程擷取行程搜尋回應中。

回應內連結範例:

[
  {
    "itinerary_id": "1293878723",
    ...
    "rooms": [
      {
        "id": "307234070",
        ...
        "links": {
          "cancel": {
            "method": "DELETE",
            "href": "/v3/itineraries/9030154067083/rooms/d3a9f088-f8a9-4ac1-999d-d5bae3ae18b0?token=REhZAQsCBAEHU0cBW0NeEUocagFfXQcEMzUfXFREClxbAUBeUEsHC1UKTTtbAGxEXAZaFgAIKy5lfC4SURNFRltbUkFpQFVGRAtbC2tdBQtdU1EGAlBSBhRRVFIEFVJdA1UbUQNRA04LVVdZBwkAUVwFUQEXR1gXRw1WRGsWQQtfX1xWb1xXWQ8OVFYAVxZAXBJKWA1WPlEFCFMDAlVXC1NXH1YDBFMZAQVQVhkKBgMCHVdUUwIHBQFRVAZQARVJQVgSUhZCQGcIUAQHDV8NDB9VD1RRXQ4XUUdEQQYEAl4EC15KBgpdRyBQBlJfFkQOBQUNVgAGAFEHUAQ="
          },
          "change": {
            "method": "PUT",
            "href": "/v3/itineraries/9030154067083/rooms/d3a9f088-f8a9-4ac1-999d-d5bae3ae18b0?token=REhZAQsCBAEHU0cBW0NeEUocagFfXQcEMzUfXFREClxbAUBeUEsHC1UKTTtbAGxEXAZaFgAIKy5lfC4SURNFRltbUkFpQFVGRAtbC2tdBQtdU1EGAlBSBhRRVFIEFVJdA1UbUQNRA04LVVdZBwkAUVwFUQEXR1gXRw1WRGsWQQtfX1xWb1xXWQ8OVFYAVxZAXBJKWA1WPlEFCFMDAlVXC1NXH1YDBFMZAQVQVhkKBgMCHVdUUwIHBQFRVAZQARVJQVgSUhZCQGcIUAQHDV8NDB9VD1RRXQ4XUUdEQQYEAl4EC15KBgpdRyBQBlJfFkQOBQUNVgAGAFEHUAQ="
          },
          "shop_for_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FEDFl1IDEVBXV1QOwMNW11ZC186VhdCSwdXBR8EbGZwRV0eWBVHXFcDPFYLVg9dCFRpSRdaFAFHFxhuUAYJBl4GAwwGEVZOWkNBXgxTOlZbDl1RX1JqXAUWbV0AQFlGURIFVgVaQFJHcAtdVw8SQVUPUw9RBVUDBA5dBA=="
          }
        }
      }
    ]
  }
]

可供應客房數/房價:

  • 然後,您可以使用shop_for_change標記化連結呼叫「供應情況 API」中的額外房價端點,以便搜尋相同/不同房型的其他日期和/或入住人數。供應情況回應將回傳符合其房價的新入住/退房日期和/或入住人數的所有可供應客房數。此供應情況回應,與您已經整合至日常購物流程的內容相同。使用與更新的 roomratebed_group (適用變更) 相關的 price_check 連結。
  • sales_channel 為供應情況要求的必填欄位。如果要求中未傳遞此欄位,則回應中將傳回錯誤。
    • 注意:原始預訂和有價差變更之間的商業模式不可能更改,也就是說, expedia_collect 和 property_collect 間不容許變更。若做出這樣的變更,則系統會在 shop_for_change 步驟時傳回 400 - Bad Request 的錯誤訊息。
  • 假設原始預訂為入住時付款房價計畫,若沒有在 shop_for_change 要求中送出幣別,則系統將回傳旅宿當地使用的幣別。比方說旅宿位於西班牙,而您以 USD 預訂入住時付款房價計畫,如果沒有在 shop_for_change_request 中送出 USD,則系統將會傳回 EUR 的價格。
  • 選擇客房後,請使用 price_check URL 取得退款或額外費用以及任何罰款資訊 (如果有的話)。請注意,已發生的任何罰款都將記入退款或欠費金額中。
  • 價格檢查連結會回傳新日期、客房和/或入住人數的 amount_owedrefund 和/或 penalty

內含退款資訊的「價格檢查」回應範例:

在此範例中,我們將每晚 $148.37 USD 的住宿時間縮短 1 晚,且不收取任何罰款,進而得出該退款金額。

{
  "status": "available",
  ...
  "refund": {
    "request_currency": {
      "value": "148.37",
      "currency": "USD"
    },
    "billable_currency": {
      "value": "148.37",
      "currency": "USD"
    }
  }
}

內含欠費金額和罰款的「價格檢查」回應範例:

在此範例中,我們將每晚 $148.37 USD 的住宿時間縮短 1 晚,但是取消 1 晚會產生 $200.00 USD 的罰款,因此得出 $51.63 USD 的欠費金額。

{
  "status": "available",
  ...
  "amount_owed": {
    "request_currency": {
      "value": "51.63",
      "currency": "USD"
    },
    "billable_currency": {
      "value": "51.63",
      "currency": "USD"
    }
  },
  "penalty": {
    "request_currency": {
      "value": "200.00",
      "currency": "USD"
    },
    "billable_currency": {
      "value": "200.00",
      "currency": "USD"
    }
  }
}
  • 如果旅宿收取加人費用、旅宿費用和/或住宿費用,則這些資訊會在回應一併傳回。
  • commit 連結用於確認旅客想要更改日期並接受更改條款。發生以下情況時:
  • 應付金額:在確認變更的內文中,輸入新的付款資訊。接受的付款類型包括客戶卡、虛擬卡、公司卡或聯盟夥伴卡 (Affiliate Collect)。
  • 退款:旅客無需輸入新的付款資訊,將按原付款方式退款。
    • 注意:
    • 如果「價格檢查」回應中有 amount_owed,則需提供付款資訊,否則系統會回傳錯誤訊息。
    • 如果回應中有 refund,則不需提供付款資訊,若已提供則系統會予以忽略。
    • 如果沒有 amount_owedrefund,則不需提供付款資訊,若已提供則系統會予以忽略,不會回傳錯誤訊息。

「價格檢查」回應中的確認變更連結範例:

{
  "status": "available",
  ...
  "links": {
    "commit": {
      "method": "PUT",
      "href": "/v3/itineraries/9030222954615/rooms/036df797-f9a1-4ad8-a1e9-1e9a621ecd0a/pricing?token=QldfCGlcUA4EXVRWAxBCAF4ARxBZVwVmEg9dBFAFV11SAVAHGFhVBgBJDQENBB4PCAAHSVACW1gAAFFXUVIEBxJbUkFVW1FbQz1bA2tGBFVXQ1EIcTw1d30scRBFSg9bVTtVW1YPVAZcCQIAWEtXR0sHQQBuXl1YC1oGBAVAQA1NU29HSUVWWUNKBwZdFVlcVwBVbgBKDk8SUBMUWwUAR0VUXAYfCFYSWABDDVFHXVwGb1cHBxAOAl9TFwRWUA5cXRo3ZEJFVk0TV1wORgdFUF0dEkdRUlZOV1xVB1kSB1wKCVsKAjpCBABXEVVrDFVeCQIAVgYAEhFVElA6Ek4WXVg3YHUtdnQxc0BfA0BmF1QVVBIFA1ZaS1IUAAISXlxZAENUC1FRWwtbXAoJBlYeAFYcAwBCFVJKElgDS25JF1tQDVRRPQpUDVYGVQwNVBIIB14EBBcOVFJUF1weARFCE11fARsFbTAiEVlSFF8BRlgMBjkGWQMIDQAKXwcRAQpXU1NfEEIIBgMFV0xSAxsAXR4EWA1FVxZmCRFcXQgETQhWFwRWUWYNBwlXDlcFVhVCSQxRWVEFU1AXSgpbQhZfXFNpR1JCWw1mYyN6IXV4Lnh9F1dZWwcObVQAXVRQSjlXXghPbFMEUg9LCQIAWEtXR1gLWhBfQwRXBFEdDgVAQQFfU0JBWVtUO0RXExBXBA1BWBFQVU9IE1ECUExRXAMAWRNWRxYSWg9RRz5CA0dAXV0Pb1gGXwVRBQZWWgRQGFYPClFPAwUFXRVZDVsLGQACAAABVwcMAwVbDBJDAUFHDFwLPVsAWFBSWVoLWgYNSFdXDgUVUAJRDU4NVgJdSwUAAQBQDAJTUwxbBEBBFFtJAEcVSD5RAQoECAQEXFpEUF0KVRdWF1FWbxZcDF0EBlUBA0wBBRpVVmcKVhNVeAAKQAd3VwsaV1sJAlsIVwwBOxIHDVwNCAtUbVpMAVRnCwANVgEBU1oADlBXEVdcE1oQQEg9AgkBVF8zMEMEB1NoBgdBU0pZFUJcW10KVUozQVNVCxMnUAYWWwddOQVWV1NdBE0UUBJaWldZRgEmHFN2QwEETRxFAUEHUUQCeEcGADdDV1FYdVZSFgIHElB3QAYGEl9CVBAHBkFWcxxXAmdAXQNWFVYEFgUiFlEKRREAWkxbFUBDB1cUBHhUFlR3EwEiFRdMRkBfWVBBO15cW1AAR3NbXAJSQhdVXAtVBFYAAlNQCwE="
    }
  }
}

接受新付款方式的「確認」請求內文範例:

{
  "payments": [
    {
      "type": "customer_card",
      "number": "4111111111111111",
      "security_code": "123",
      "expiration_month": "08",
      "expiration_year": "2030",
      "billing_contact": {
        "given_name": "John",
        "family_name": "Smith",
        "email": "john@example.com",
        "phone": {
          "country_code": "1",
          "area_code": "487",
          "number": "5550077"
        },
        "address": {
          "line_1": "555 1st St",
          "line_2": "10th floor",
          "line_3": "Unit 12",
          "city": "Seattle",
          "state_province_code": "WA",
          "postal_code": "98119",
          "country_code": "US"
        }
      }
    }
  ]
}
  • 確認變更後,您應該執行行程擷取以確認套用變更。

新日期範例:

原入住日期為 2023 年 12 月 13 日、退房日期為 2023 年 12 月 14 日的行程:

{
  "itinerary_id": "9141257626318",
  "property_id": "480180",
  "rooms": [
    {
      "id": "201300171",
      "bed_group_id": "37321",
      "confirmation_id": {
        "expedia": "32831654",
        "property": "53063928"
      },
      "checkin": "2023-12-13",
      "checkout": "2023-12-14",
      "number_of_adults": 2,
      "given_name": "Jane",
      "family_name": "Doe",
      "status": "booked",
      "special_request": "Top floor or away from street please",
      "smoking": false,
      "rate": {
        "id": "270125984",
        "merchant_of_record": "property",
        "refundable": true,
        "cancel_refund": {
          "amount": "-151.31",
          "currency": "USD"
        },
        "cancel_penalties": [
          {
            "currency": "USD",
            "nights": "1",
            "start": "2023-12-11T23:59:00.000-06:00",
            "end": "2023-12-13T23:59:00.000-06:00"
          }
        ],
        "amenities": [
          "2192",
          "1073742786"
        ],
        "pricing": {
          "nightly": [
            [
              {
                "value": "129",
                "type": "base_rate",
                "currency": "USD"
              },
              {
                "value": "22.31",
                "type": "tax_and_service_fee",
                "currency": "USD"
              }
            ]
          ],
          "totals": {
            "inclusive": {
              "billable_currency": {
                "value": "151.31",
                "currency": "USD"
              }
            },
            "exclusive": {
              "billable_currency": {
                "value": "129",
                "currency": "USD"
              }
            },
            "property_fees": {
              "billable_currency": {
                "value": "0.81",
                "currency": "USD"
              }
            }
          },
          "fees": {
            "mandatory_fee": {
              "billable_currency": {
                "value": "0.81",
                "currency": "USD"
              }
            }
          }
        }
      },
      "loyalty_id": "123456789",
      "loyalty": {
        "member_id": "123456789",
        "program_id": "Hotel"
      },
      "links": {
        "cancel": {
          "method": "DELETE",
          "href": "/v3/itineraries/9141257626318/rooms/934aec56-b124-4f29-9ef8-90309b92eb07?token=REhZAQsDBAMHVEcBW0NeEUocagFfXQcEMzUfXFREClxbAUBeUEsHC1UKTTtbAGxEXAZaFgAIKy5lfC4SQgdERlpTRWxGQV9TXg5ROl1QXAAJAA0NBEIVQFYVVURBQTlRVFkCCwdQC1MeUQkAXVQPDFQHWwJQX1gWFlcDU0wWVgBQV1dBX0BDSlRXC0R3CVVQUhJMXF8NWAhSBVIEAFE="
        },
        "change": {
          "method": "PUT",
          "href": "/v3/itineraries/9141257626318/rooms/934aec56-b124-4f29-9ef8-90309b92eb07?token=REhZAQsDBAMHVEcBW0NeEUocagFfXQcEMzUfXFREClxbAUBeUEsHC1UKTTtbAGxEXAZaFgAIKy5lfC4SQgdERlpTRWxGQV9TXg5ROl1QXAAJAA0NBEIVQFYVVURBQTlRVFkCCwdQC1MeUQkAXVQPDFQHWwJQX1gWFlcDU0wWVgBQV1dBX0BDSlRXC0R3CVVQUhJMXF8NWAhSBVIEAFE="
        },
        "pricing": {
          "method": "GET",
          "href": "/v3/itineraries/9141257626318/rooms/934aec56-b124-4f29-9ef8-90309b92eb07/pricing?token=REhZAQsDBAMHVEcBW0NeEUocagFfXQcEMzUfXFREClxbAUBeUEsHC1UKTTtbAGxEXAZaFgAIKy5lfC4SQgdERlpTRWxGQV9TXg5ROl1QXAAJAA0NBEIRR1ABDQ4ACV4JBlMCBBERQQxIURYVTWdbBQRSDVUADwlDVg5SX1hbXglYWFdSWFRAQQMIAxpEBFRaWAZLXhdIT1sOWEdCVRQXXFBHbRcDUwdGUA9SA2taUA9RAgdVVgIDAhxQW1MHGAcOUAZPVVUFWBUAAAEFV1YBXQsAUQQeclsGV19DEV8JVwtXVgdRU10EUw=="
        },
        "shop_for_change": {
          "method": "GET",
          "href": "/v3/properties/480180/availability?token=XV1CBl5UWkdoCwc9RlNTCkoBCCp_bSd1QBRcX1BGEVEIVjlHXF1ZAVcHDVRRXlEbDVdQXEkBBlMFFFoBAFQbAAEHBgcOBlIED1sMQ0RRD1dURU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SQVUPUw9RBVUDBA5dBA=="
        }
      }
    }
  ],
  "billing_contact": {
    "given_name": "Jane",
    "family_name": "Doe",
    "address": {
      "line_1": "123 Main Street",
      "line_2": "",
      "city": "Seattle",
      "state_province_code": "WA",
      "postal_code": "98122",
      "country_code": "US"
    }
  },
  "creation_date_time": "2023-06-21T19:52:42.477Z",
  "affiliate_reference_id": "2023-06-21-02",
  "affiliate_metadata": "data_point_1:|data_point2:",
  "email": "janedoe@email.com",
  "phone": {
    "country_code": "1",
    "area_code": "858",
    "number": "1234567"
  }
}

新入住日期為 2023 年 12 月 04 日、退房日期為 2023 年 12 月 05 日的行程。請注意,行程編號將與原始預訂中的一致。

{
  "itinerary_id": "9141257626318",
  "property_id": "480180",
  "rooms": [
    {
      "id": "201300171",
      "bed_group_id": "37321",
      "confirmation_id": {
        "expedia": "33633318"
      },
      "checkin": "2023-12-04",
      "checkout": "2023-12-05",
      "number_of_adults": 2,
      "given_name": "Jane",
      "family_name": "Doe",
      "status": "booked",
      "special_request": "Top floor or away from street please",
      "smoking": false,
      "rate": {
        "id": "270125984",
        "merchant_of_record": "property",
        "refundable": true,
        "cancel_refund": {
          "amount": "-151.31",
          "currency": "USD"
        },
        "cancel_penalties": [
          {
            "currency": "USD",
            "nights": "1",
            "start": "2023-12-02T23:59:00.000-06:00",
            "end": "2023-12-04T23:59:00.000-06:00"
          }
        ],
        "amenities": [
          "2192",
          "1073742786"
        ],
        "pricing": {
          "nightly": [
            [
              {
                "value": "22.31",
                "type": "tax_and_service_fee",
                "currency": "USD"
              },
              {
                "value": "129.00",
                "type": "base_rate",
                "currency": "USD"
              }
            ]
          ],
          "totals": {
            "inclusive": {
              "billable_currency": {
                "value": "151.31",
                "currency": "USD"
              }
            },
            "exclusive": {
              "billable_currency": {
                "value": "129.00",
                "currency": "USD"
              }
            },
            "property_fees": {
              "billable_currency": {
                "value": "0.81",
                "currency": "USD"
              }
            }
          },
          "fees": {
            "mandatory_fee": {
              "billable_currency": {
                "value": "0.81",
                "currency": "USD"
              }
            }
          }
        }
      },
      "loyalty_id": "123456789",
      "loyalty": {
        "member_id": "123456789",
        "program_id": "Hotel"
      },
      "links": {
        "cancel": {
          "method": "DELETE",
          "href": "/v3/itineraries/9141257626318/rooms/ae70934e-1f8f-441c-9ae5-6f75a622ce55?token=REhZAQsDBAMHVEcBW0NeEUocagFfXQcEMzUfXFREClxbAUBeUEsHC1UKTTtbAGxEXAZaFgAIKy5lfC4SQgdERlpTRWxGQV9TXg5ROl1QXAAJAA0NBEIVQFYVVURBQTlRVFkCCwdQC1MeUQkAXVQPDFQHWwJQX1gWFlcDU0wWVgBQV1dBX0BDSlRXC0R3CVVQUhJMXF8NWAhSBVIEAFE="
        },
        "change": {
          "method": "PUT",
          "href": "/v3/itineraries/9141257626318/rooms/ae70934e-1f8f-441c-9ae5-6f75a622ce55?token=REhZAQsDBAMHVEcBW0NeEUocagFfXQcEMzUfXFREClxbAUBeUEsHC1UKTTtbAGxEXAZaFgAIKy5lfC4SQgdERlpTRWxGQV9TXg5ROl1QXAAJAA0NBEIVQFYVVURBQTlRVFkCCwdQC1MeUQkAXVQPDFQHWwJQX1gWFlcDU0wWVgBQV1dBX0BDSlRXC0R3CVVQUhJMXF8NWAhSBVIEAFE="
        },
        "pricing": {
          "method": "GET",
          "href": "/v3/itineraries/9141257626318/rooms/ae70934e-1f8f-441c-9ae5-6f75a622ce55/pricing?token=REhZAQsDBAMHVEcBW0NeEUocagFfXQcEMzUfXFREClxbAUBeUEsHC1UKTTtbAGxEXAZaFgAIKy5lfC4SQgdERlpTRWxGQV9TXg5ROl1QXAAJAA0NBEIRR1ABDQ4ACV4JBlMCBBERQQxIURYVTWdbBQRSDVUADwlDVg5SX1hbXglYWFdSWFRAQQMIAxpEBFRaWAZLXhdIT1sOWEdCVRQXXFBHbRcDUwdGUA9SA2taUA9RAgdVVgIDAhxQW1MHGAcOUAZPVVUFWBUAAAEFV1YBXQsAUQQeclsGV19DEV8JVwtXVgdRU10EUw=="
        },
        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glbUwIGTFEDFl1IDEVBXV1QOwMNW11ZC186VhdCSwdXBR8EbGZwRV0eWBVHXFcDPFYLVg9dCFRpSRdaFAFHFxhuUAYJBl4GAwwGEVZOWkNBXgxTOlZbDl1RX1JqXAUWbV0AQFlGURIFVgVaQFJHcAtdVw8SQVUPUAxVBlEDBgpQBw=="
        }
      }
    }
  ],
  "billing_contact": {
    "given_name": "Jane",
    "family_name": "Doe",
    "address": {
      "line_1": "123 Main Street",
      "line_2": "",
      "city": "Seattle",
      "state_province_code": "WA",
      "postal_code": "98122",
      "country_code": "US"
    }
  },
  "creation_date_time": "2023-06-21T19:52:42.477Z",
  "affiliate_reference_id": "2023-06-21-02",
  "affiliate_metadata": "data_point_1:|data_point2:",
  "email": "janedoe@email.com",
  "phone": {
    "country_code": "1",
    "area_code": "858",
    "number": "1234567"
  }
}

hard-change-integration

  • 若要檢視預訂歷史記錄,請使用 include=history 標幟呼叫「行程擷取 API」。這時將回傳行程和客房等級相關詳情。

錯誤處理

有關錯誤處理,請參閱 API Explorer 中的相關端點或參閱常見錯誤回應






這個頁面有幫助嗎?
我們能如何改善內容?
感謝您協助我們進行改善!