2026-11-17 — The affiliate on a partner-host trip
A booking on a partner booking host records the partner affiliate the guest came through (#8821 ). Nothing existing changes.
Added — CreateTripPaymentIntentInput.affiliateToken
- The partner booking host’s website server mints it beside
bookingSurfaceToken. It carries the affiliate link (?aff=<code>and itsutm_*values) the visit arrived through. - A token that does not verify, a click older than 30 days, or a code that is not an active affiliate of the host’s partner stamps nothing. It never refuses the checkout.
- With no valid link, a redeemed promo code that an affiliate owns stamps that affiliate.
Added — tripAffiliateAttribution(tripId)
- The affiliate, its source (
LINKorPROMO_CODE), the click time, theutm_*values and the redeemed promo code of one trip. - AKIN staff for any trip, a partner admin for its own partner’s trips, and a property admin for a trip with one of its own properties.
- A partner API key is refused.
Not changed
?ref=stays the member referral.- No affiliate is written into a PMS reservation
Last updated on