Breadcrumb
- Reservation Services
- Create Reservation
- Use Cases
- Loyalty Information
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.
Parameter | Description | Type | Required |
---|---|---|---|
LoyaltyMembership/Level/@Code | Code associated with a level reached in a loyalty program. | String | No |
LoyaltyMembership/@Source | Specifies how the membership was chosen to be used on this reservation. Values: Proactive, Selected, Unknown | String | No |
LoyaltyMembership/@MembershipID | Membership of the loyalty program. | String | No |
LoyaltyMembership/@ProgramID | Program ID for the loyalty program. | String | No |
"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"
}