[null,null,["最后更新时间 (UTC):2025-07-30。"],[[["\u003cp\u003ePrivate rates allow you to offer discounted pricing to specific groups like loyalty program members.\u003c/p\u003e\n"],["\u003cp\u003eYou can create private rates by defining rate criteria in the rate rules XML file and adding them to your price feed.\u003c/p\u003e\n"],["\u003cp\u003ePrivate rates leverage the same syntax as conditional rates, requiring a \u003ccode\u003erate_rule_id\u003c/code\u003e attribute for identification.\u003c/p\u003e\n"],["\u003cp\u003eEligible users can access the discounted rates through deep links, facilitated by updates to your landing page file.\u003c/p\u003e\n"],["\u003cp\u003eA non-hidden rate, such as a public or conditional rate, is necessary for displaying the UI treatment and calculating discounts.\u003c/p\u003e\n"]]],[],null,["# Private rates are a type of rate rule that lets you offer reduced rates for\nmembers of an audience list or loyalty program. For example, you might have a\nstandard rate of $150, but a private rate of $135 for members of a loyalty\nprogram.\n\nPrivate rates have various UI treatments that allow you to display exclusive\ndiscount pricing to eligible users. For more information about these options,\nrefer to [Private rates details and examples](//support.google.com/hotelprices/answer/9984299).\n\nCreate private rates\n--------------------\n\nTo use private rates:\n\n1. For each private rate, add a new rate rule that defines the rate criteria in\n the rate rules XML file. For details, refer to\n [Rate Rules XML Reference](/hotels/hotel-prices/xml-reference/rate-rules).\n\n | **Key Point:** It is recommended that you send single member rate price for the cheapest room bundle first, followed by the remaining room bundle pricing. Multiple member rate pricing is not allowed.\n2. Add the private rates to the appropriate itineraries in your price feed. To\n do this, use the same syntax as [Conditional Rates](/hotels/hotel-prices/dev-guide/fenced-rates).\n Set the `rate_rule_id` attribute to the ID in the `\u003cRate\u003e` element.\n\n3. [Update your landing page file](/hotels/hotel-prices/dev-guide/fenced-rates#pos)\n (if necessary) to verify eligible users can book the discount rate through a\n deep link to your website. The landing page URL is generated by the public\n rate. The rate rules for private rates populates in the `CLOSE-RATE-RULE-IDS`\n and the `IF-CLOSE-RATE-RULE-IDS` resolves to `true`.\n\n### Example\n\n### Basic Private rate\n\nThe following is a basic private rates example: \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cTransaction\u003e\n \u003cResult\u003e\n \u003cProperty\u003e1234\u003c/Property\u003e\n \u003cCheckin\u003e2023-05-23\u003c/Checkin\u003e\n \u003cNights\u003e1\u003c/Nights\u003e\n\n \u003c!-- An eligible non-hidden rate is required in order to display the UI treatment. --\u003e\n \u003c!-- This example uses a public rate, but a conditional rate where the\n user meets all conditions could also be used. --\u003e\n \u003c!-- This would be the strikethrough price. --\u003e\n \u003cBaserate currency=\"USD\"\u003e200.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e20.00\u003c/Tax\u003e\n \u003cOtherFees currency=\"USD\"\u003e1.00\u003c/OtherFees\u003e\n\n \u003cRates\u003e\n \u003cRate rate_rule_id=\"sample_qr\"\u003e\n \u003c!-- Price will not be displayed, but is required for calculating discounts. --\u003e\n \u003cBaserate currency=\"USD\"\u003e180.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e18.00\u003c/Tax\u003e\n \u003cCustom1\u003eratecode123\u003c/Custom1\u003e\n \u003c/Rate\u003e\n \u003c/Rates\u003e\n\n \u003c/Result\u003e\n \u003c/Transaction\u003e\n\n### Conditional private rates\n\nThe following example shows conditional rates for US users only. \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cTransaction\u003e\n \u003cResult\u003e\n \u003cProperty\u003e1234\u003c/Property\u003e\n \u003cCheckin\u003e2025-08-23\u003c/Checkin\u003e\n \u003cNights\u003e1\u003c/Nights\u003e\n \u003cBaserate currency=\"USD\"\u003e200.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e20.00\u003c/Tax\u003e\n \u003cOtherFees currency=\"USD\"\u003e1.00\u003c/OtherFees\u003e\n \u003cRates\u003e\n \u003cRate rate_rule_id=\"sample_qr\"\u003e\n \u003cBaserate currency=\"USD\"\u003e180.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e18.00\u003c/Tax\u003e\n \u003cCustom1\u003eratecode123\u003c/Custom1\u003e\n \u003cRateRuleSettings\u003e\n \u003cRateRule id=\"US_users\"\u003e\n \u003cUserRateCondition\u003e\n \u003cUserCountry\u003eUS\u003c/UserCountry\u003e\n \u003c/UserRateCondition\u003e\n \u003c/RateRule\u003e\n \u003c/RateRuleSettings\u003e\n \u003c/Rate\u003e\n \u003c/Rates\u003e\n \u003c/Result\u003e\n \u003c/Transaction\u003e\n\nRefer to [Rate Rules XML reference](/hotels/hotel-prices/xml-reference/rate-rules)\nfor more examples."]]