2026-11-03 — Partner SDK tier, membership year and stays; suggestion delivery cards may have no quarter yet
The partner SDK shows the member’s tier with you, their membership year and their real stays
Upgrade to @akin-travel/partner-sdk 2.1.0 (@akin-travel/sdk-core 0.2.0)
(#8290 ).
Fixed
- The member’s tier is their tier with you. The SDK read
tierAtPartnerwith no partner, so the API answered the member’s AKIN network tier. The SDK now passes yourpartnerId. The API also changed: a request with a valid partner key that asks fortierAtPartnerwith nopartnerIdgets the tier at the key’s partner, and so doestierDisplayName. With a key, apartnerIdnaming another partner returnsnull. Builds you have deployed already get the right tier without an upgrade, if they send your API key. - “This membership year” starts on the member’s join date.
LoyaltyCardused the calendar year.membershipYearStartandmembershipYearEndare now the member’s current membership year, which renews on the anniversary ofjoinDate.memberSinceis the join date. - Nights count only stays that happened.
LoyaltyCard’stotalNights(and the stay counts it works out itself) leave out cancelled, no-show and merged bookings. - No “Origin” in member copy. “Origin” is AKIN’s own word.
getLabelnames your programme for the member-origin requirements (“Viajero nights”), andSimpleTierCards/TierRequirementsTableno longer defaultpartnerNameto “Origin”.
Changed
- Translations:
tierCard.originStays,progress.originHostelsandprogress.originNightsnow read “Stays with us”, “Our hostels” and “Nights with us”. New keys name your programme:tierCard.partnerStays,progress.partnerHostelsandprogress.partnerNights. Call them ast('progress.partnerNights', { partner: 'Viajero' }). - If you keep your own copy of the SDK translations, replace the “Origin” strings in it too.
TierRequirementsTableRenderProps.partnerNameis''when you pass nopartnerName; it was'Origin'.
Suggestion forum delivery cards may have no quarter yet
An AKIN super admin can now approve a partner suggestion with a priority for the dev team (#8272 ). An approved suggestion is planned before it has a delivery quarter, so the quarter can be empty for a while.
Changed — SuggestionDeliveryCard.targetQuarter is nullable
SuggestionDeliveryCard.targetQuarterchanges fromString!toString. It isnullwhile a planned suggestion has no quarter yet, and the delivery board lists those cards after the ones with a quarter.- Read a
nullas “not scheduled yet”. Do not read it as an error. - The other fields on the card are unchanged. The approval priority is for AKIN only and is never sent on a partner type.
Last updated on