Field mapping for Spectra

Updated

Here you can get an overview of the fields available in the Spectra integration.

Guest field mapping

The fields configured as part of the integration are created on the list. They can be edited for each individual customer on the guest’s contact card in Heyloyalty. The five spectra* fields are automatically created in the list. By default, contacts are matched via email or mobile number; a guest with no value in the match field is skipped.

Fields on the Heyloyalty listFrom SpectraNote
emailemailDefault field for matching contacts
mobilePhoneDefault field – reduced to numbers only.
firstnamefirstnameDefault field
lastnameLast NameDefault field
addressaddress1Default field – first address line only.
ZIP Code*zip_code
Custom field
citycityDefault field
CountryCountryCodeDefault field – country code, not a country name.
Spectra Guest ID*IDCustom field – the guest’s ID in Spectra. Locked, so it cannot be overwritten.
spectra_language*LanguageCultureCustom field – useful for campaigns organized by language.
Spectra segments*derivedCustom field – comma-separated. Used for Spectra segments.
Spectra Newsletter*derivedCustom field – Newsletter Permission

Reservation mapping

The fields are created via the list’s tracking integration, and they are what segmentation, automations, and merge fields read from, among other things. They are all pre-filled during mapping in the Spectra integration; a field mapping that is left blank is simply not sent to Heyloyalty. If a reservation is recorded without an email address or phone number, the reservation is skipped entirely.

Tracking fieldFrom SpectraContents
Identifiers
booking_idReservationGuidThe reservation’s unique ID. Creates or updates a reservation.
product_idReservationGuid
reservation_idReservationIdThe reservation number that hotel staff see in Spectra.
order_numberReservation ID
Dates and length of stay
booking_dateCreatedWhen the reservation was made.
arrival_dateArrivalCheck-in.
departure_dateArrivalAlso check-in. The day the guest arrives.
return_dateDepartureCheck-out. “Return date” is the day the guest leaves.
night_countderivedNumber of full nights between check-in and check-out.
lead_time_daysderivedNumber of days from booking to arrival. Useful for scheduling mailings before arrival.
Hotel and room
hotel_codeHotelCodeThe chain’s short code for the hotel or branch.
hotel_namelookupRetrieved from Spectra’s hotel list. If the name is not found, the code is used.
destinationlookupThe city where the hotel is located. Empty if the API user does not have access to the hotel list.
room_typeRoom.RoomType
room_numberRoom.RoomNumber
Commercial
pricederivedThe sum of the packages included in the reservation and any add-on packages.
rate_planPriceCodes.PriceCode
market_groupMarkets.MarketDescSpectra’s market segmentation, e.g., leisure vs. business.
sourceSources.SourceDescBusiness source.
booking_channelChannelWhere the booking came from.
reservation_typeReservationTypeRestaurant and spa reservations are included.
part_of_conferencePartOfGroupOrConferenceYes/No. The only way to distinguish between conference and group transactions.
Guest on the reservation
guest_namederivedThe name on the reservation, or the first and last name from the guest profile.
adult_countNumberOfAdults
child_countNumberOfChildrenDistinguishes between families and couples.
membership_numberGuest.MembershipNumberLoyalty membership, if the hotel has one.
vip_statusGuest.Vip
Status
statusderivedSent as a purchase or as a cancellation.



If you need information or help that you cannot find here on the guide site, you are always welcome to contact our support!
support@heyloyalty.com

Didn't find the answer?

Write to our support team and we'll help you further.

Contact support