非公開レートは、オーディエンス リストやポイント プログラムのメンバーに対して割引料金を提示できるようにする料金ルールのタイプです。たとえば、標準料金は $150 にするが、ポイント プログラムのメンバーの非公開レートは $135 にする、といったことが可能です。
非公開レートでは、対象ユーザーに対して限定の割引料金を表示できるようにする、さまざまな UI 処理を行います。これらのオプションの詳細については、非公開レートの詳細と例をご覧ください。
プライベート料金を作成する
非公開レートを使用するには:
非公開レートごとに、料金ルール XML ファイルの料金条件を定義する新しい料金ルールを追加します。詳しくは、料金ルール XML リファレンスをご覧ください。
料金フィードの適切な旅行プランに非公開レートを追加します。これを行うには、限定価格と同じ構文を使用します。
rate_rule_id
属性を<Rate>
要素の ID に設定します。(必要に応じて)ランディング ページ ファイルを更新し、ウェブサイトへのディープリンクを通じて対象ユーザーが割引価格を予約できることを確認します。ランディング ページ URL は一般向けの公開料金によって生成されます。非公開レートの料金ルールは
CLOSE-RATE-RULE-IDS
に入力され、IF-CLOSE-RATE-RULE-IDS
はtrue
に解決されます。
例
Basic Private rate
以下は、プライベート料金の基本的な例です。
<?xml version="1.0" encoding="UTF-8"?>
<Transaction>
<Result>
<Property>1234</Property>
<Checkin>2023-05-23</Checkin>
<Nights>1</Nights>
<!-- An eligible non-hidden rate is required in order to display the UI treatment. -->
<!-- This example uses a public rate, but a conditional rate where the
user meets all conditions could also be used. -->
<!-- This would be the strikethrough price. -->
<Baserate currency="USD">200.00</Baserate>
<Tax currency="USD">20.00</Tax>
<OtherFees currency="USD">1.00</OtherFees>
<Rates>
<Rate rate_rule_id="sample_qr">
<!-- Price will not be displayed, but is required for calculating discounts. -->
<Baserate currency="USD">180.00</Baserate>
<Tax currency="USD">18.00</Tax>
<Custom1>ratecode123</Custom1>
</Rate>
</Rates>
</Result>
</Transaction>
限定非公開レート
次の例は、米国のユーザー向けの限定価格のみを示しています。
<?xml version="1.0" encoding="UTF-8"?>
<Transaction>
<Result>
<Property>1234</Property>
<Checkin>2025-08-23</Checkin>
<Nights>1</Nights>
<Baserate currency="USD">200.00</Baserate>
<Tax currency="USD">20.00</Tax>
<OtherFees currency="USD">1.00</OtherFees>
<Rates>
<Rate rate_rule_id="sample_qr">
<Baserate currency="USD">180.00</Baserate>
<Tax currency="USD">18.00</Tax>
<Custom1>ratecode123</Custom1>
<RateRuleSettings>
<RateRule id="US_users">
<UserRateCondition>
<UserCountry>US</UserCountry>
</UserRateCondition>
</RateRule>
</RateRuleSettings>
</Rate>
</Rates>
</Result>
</Transaction>
その他の例については、料金ルール XML リファレンスをご覧ください。