Skip to main content

Loyalty Information

Loyalty information can be appended to a reservation using LoyaltyMemberships. The ProgramID and Level/@Code must match a loyalty program on the chain.
This is useful if a guest doesn't have a profile but would like to receive credit for a reservation or if the guest has a profile with a default loyalty program but would like recognition for this reservation to go to a different loyalty program. 
 

ParameterDescriptionTypeRequired
LoyaltyMembership/Level/@CodeCode associated with a level reached in a loyalty program.StringNo
LoyaltyMembership/@SourceSpecifies how the membership was chosen to be used on this reservation. 
Values: Proactive, Selected, Unknown
StringNo
LoyaltyMembership/@MembershipIDMembership of the loyalty program.StringNo
LoyaltyMembership/@ProgramIDProgram ID for the loyalty program.StringNo

 

    "LoyaltyMemberships": [
        {
            "Level": {
                "Code": "Gold"
            },
            "MembershipID": "MY790887688",
            "ProgramID": "MyLoyalty",
            "Source": "Selected"
        }
    ]

 

Sample Request

{
    "LoyaltyMemberships": [
        {
            "Level": {
                "Code": "Gold"
            },
            "MembershipID": "MY790887688",
            "ProgramID": "MyLoyalty",
            "Source": "Selected"
        }
    ],
    "Chain": {
        "Id": 14161022
    },
    "Channels": {
        "PrimaryChannel": {
            "Code": "WEB"
        },
        "SecondaryChannel": {
            "Code": "SYNXISWS_BE"
        }
    },
    "Hotel": {
        "Id": 100319
    },
    "Guests": [
        {
            "PersonName": {
                "GivenName": "John",
                "Surname": "Public"
            },
            "Payments": [
                {
                    "PaymentCard": {
                        "CardCode": "VI",
                        "CardHolder": "John Public",
                        "CardNumber": "444444444444444",
                        "CardSecurityCode": "123",
                        "ExpireDate": "1225"
                    },
                    "Type": "CreditCard"
                }
            ],
            "ContactNumbers": [
                {
                    "Number": "555-123-2717"
                }
            ],
            "EmailAddress": [
                {
                    "Value": "john.public@email.com"
                }
            ]
        }
    ],
    "RoomStay": {
        "StartDate": "2023-06-07",
        "EndDate": "2023-06-08",
        "GuestCount": [
            {
                "AgeQualifyingCode": "Adult",
                "NumGuests": 1
            }
        ],
        "NumRooms": 1,
        "Products": [
            {
                "Product": {
                    "RateCode": "BAR",
                    "RoomCode": "LUXQ"
                }
            }
        ]
    },
    "status": "Confirmed"
}