Skip to main content

Loyalty Rates

Loyalty Rates

A chain with a Loyalty Program may choose to create Loyalty specific rates. The rates could provide a discount (i.e. 10% off BAR) or provide the ability to use points as a form of payment. Rates associated with a loyalty program and level are considered protected and not accessible unless the matching loyalty program and level are included in the request.

 

ParameterDescriptionType
loyaltyProgramLoyalty program codeString
loyaltyLevelCode associated with a loyalty program level (i.e. SILVER, GOLD, PLATINUM)[String]
onlyCheckRequestedIf true, the system will only check for product availability based upon the requested parameters.Boolean

 

Samples Request

A chain has a loyalty program code of 'MyLoyalty' and assigned the rate code 'GoldRt' to the loyalty level of 'GOLD'. To check availability for this rate, loyaltyProgram=MyLoyalty&loyaltyLevel=GOLD must be included in the request.

Note: The request must include content=full for the response to include the contentLists node

 

/v1/api/hotel/availability?hotelId=100319&chainId=14161022&adults=2&startDate=2022-12-17&endDate=2022-12-20&numRooms=1&primaryChannel=WEB&secondaryChannel=WEB&adults=2&onlyCheckRequested=true&content=full&loyaltyProgram=MyLoyalty&loyaltyLevel=GOLD

 

Response (partial)

Response attributes related to Loyalty rates.

ParameterDescriptionType
contentLists/RateList/Details/CustLoyaltyListContains information for loyalty programs assigned to the rate.[Array]
contentLists/RateList/Details/CustLoyaltyList/@NameName of the loyalty programString
contentLists/RateList/Details/CustLoyaltyList/@ProgramIDCode associated to the loyalty programString
contentLists/RateList/Details/CustLoyaltyList/Level/@CodeCode associated to a loyalty program levelString
contentLists/RateList/Details/CustLoyaltyList/Level/@NameName associated to a loyalty program levelString
contentLists/RateList/Details/Indicators/@LoyaltyIf true, indicates that the rates is assigned to a loyalty program and levelBoolean
productAvailability/Prices/Product/@RefReference type for the price. If this is a loyalty rate then the value will be Loyalty
Values: AccessCode, AccessGeoLocation, Agent, ChannelizedRateAccessCode, Corporate, Group, Loyalty, Rate, RateClass, RateFilter, Room, RoomFeature, Template
String
productAvailability/Prices/Product/@RefValueReference for the price. For Loyalty rates, this value will be the Loyalty Program.String

 

{
    "contentLists": {
        "RateList": [
            {
                "Details": {
                    "Description": "Gold Reward Rate",
                    "CustLoyaltyList": [
                        {
                            "Level": [
                                {
                                    "Code": "GOLD",
                                    "Name": "Gold Level Membership"
                                }
                            ],
                            "Name": "Thank You Rewards!",
                            "ProgramID": "MyLoyalty"
                        }
                    ],
                    "DetailedDescription": "Gold Level Reward Rate",
                    "DisplayName": "Gold Reward Rate",
                    "Indicators": {
                        "Loyalty": true
                    },
                    "RateClass": "Promotional"
                },
                "Code": "GoldRt",
                "CurrencyCode": "USD",
                "Name": "Gold Reward Rate"
            }
        ]
    },
    "productAvailability": {
        "Prices": [
            {
                "Product": {
                    "CommissionPolicy": {},
                    "BookingPolicy": {},
                    "CancelPolicy": {},
                    "Prices": {},
                    "Rate": {
                        "Code": "GoldRt"
                    },
                    "Room": {
                        "Code": "DElQUE"
                    },
                    "MealPlanList": [],
                    "StayLimits": {},
                    "Ref": "Loyalty",
                    "RefValue": "MyLoyalty"
                },
                "Available": true,
                "AvailableInventory": 22
            }
        ]
    }
}

 

Note: Loyalty rates are easily identified in the response by looking for contentLists/RateList/Details/Indicators/@Loyalty=true