Skip to Content
The AKIN Travel developer platform is in beta — APIs may change. Get started →
GraphQL referenceReference

GraphQL reference

Operations and types available to partner integrations (the React SDK and direct API clients alike). The schema is filtered server-side by @PartnerSdkExposed; this page mirrors what __schema returns when introspected with a valid partner API key.

Queries

bookingsByMember

Get bookings by member

bookingsByMember(limit: Int, memberId: String!, offset: Int): [Booking!]!

loyaltyTransactionsWithMetrics

Get loyalty transactions with tier metrics from v_booking_metrics view

loyaltyTransactionsWithMetrics(excludeDuplicates: Boolean, limit: Int, memberId: String!, offset: Int, partnerId: String): LoyaltyTransactionsWithMetricsResult!

memberByEmail

Partner-scoped server-to-server read: member identity + tier by email. Requires a partner API key; limited to members the calling partner holds a qualifying tie to.

memberByEmail(email: String!): PartnerMemberRead!

memberByExternalId

Partner-scoped server-to-server read: member identity + tier by the partner’s own external ID. Requires a partner API key; limited to members enrolled with that partner.

memberByExternalId(externalId: String!): PartnerMemberRead!

memberProfile

Get comprehensive member profile with statistics

memberProfile(id: ID!): MemberProfile

memberTierHistory

Get member tier change history

memberTierHistory(memberId: String!, pagination: PaginationInput): MemberTierHistoryConnection!

partnerArrivals

Partner Reporting API: a property’s arrivals for one local day (today − 366 to today + 30), up to 500 rows. Requires a SECRET partner API key with the reporting:read scope; the property must be the key partner’s

partnerArrivals(date: String!, propertyId: ID!): PartnerArrivalsReport!

partnerMemberSignups

Partner Reporting API: the members who signed up with the key’s partner from the UTC day from to the UTC day to, both included, with the enrolment source, origin property and next booking. The count for a window equals the dashboard sign-ups figure. Window at most 366 days; first at most 500. Requires a SECRET partner API key with the reporting:read scope, on a partner with the reporting grant

partnerMemberSignups(after: String, first: Int!, from: DateTimeISO!, to: DateTimeISO!): PartnerMemberSignupConnection!

partnerMetrics

Partner Reporting API: the partner’s headline figures for a window of at most 366 days, over its own properties or one of them. Each figure equals the AKIN dashboard’s figure for the same partner, property and window. Requires a SECRET partner API key with the reporting:read scope

partnerMetrics(from: DateTimeISO!, propertyId: ID, to: DateTimeISO!): PartnerMetricsReport!

partnerReportingAccess

Partner Reporting API: check a key. Answers the partner the key is pinned to, its reporting scope and the reporting rate limit. Requires a SECRET partner API key with the reporting:read scope, on a partner with the reporting grant

partnerReportingAccess: PartnerReportingAccess!

partnerStaffSignups

Partner Reporting API: sign-ups by team member at the key’s partner, one row per team member and property, with property totals, from the UTC day from to the UTC day to, both included. The numbers equal the dashboard’s Sign-ups by team member report. Window at most 366 days. Requires a SECRET partner API key with the reporting:read scope, on a partner with the reporting grant

partnerStaffSignups(from: DateTimeISO!, propertyId: ID, to: DateTimeISO!): StaffSignupsReport!

tierBenefits

Get all tier benefits for a partner - rewards grouped by tier and scope

tierBenefits(locale: String, originPartnerId: String, partnerId: String!): [TierBenefits!]!

tierConfigs

Get tier configs for a partner (with global fallback) or global configs if no partnerId

tierConfigs(locale: String, partnerId: String): [LoyaltyTierConfig!]!

Mutations

enrollMember

Partner SDK: enrol a member by email + profile (server-to-server, no user login). Creates the AKIN member when no member holds the email (created: true); an existing member is enrolled as is (created: false). Requires a partner API key with the member:write scope.

enrollMember(input: EnrollMemberInput!): EnrollMemberResult!

loginMemberGIP

Website member login via GIP (Google Identity Platform)

loginMemberGIP(input: LoginMemberGIPInput!): GIPMemberAuthPayload!

passkeyAuthenticate

Verify passkey authentication and return Firebase custom token with tenant ID

passkeyAuthenticate(authenticationResponse: JSONObject!, expectedChallenge: String): PasskeyAuthResponse!

passkeyAuthenticationOptions

Generate WebAuthn authentication options

passkeyAuthenticationOptions(tenantId: String, userEmail: String, userId: String, userType: String): JSONObject!

recordLoyaltyTransaction

Partner SDK: credit or debit a member’s AKIN points (server-to-server, idempotent). Requires a partner API key with the loyalty:write scope.

recordLoyaltyTransaction(input: RecordLoyaltyTransactionInput!): RecordLoyaltyTransactionResult!

redeemReward

Partner SDK: record that a member redeemed one of the partner’s rewards (server-to-server, idempotent). Requires a partner API key with the loyalty:write scope.

redeemReward(input: RedeemRewardInput!): RedeemRewardResult!

Request a magic link for login. Sends email to existing users. With createIfMissing (the apps, akin-travel/issues#6745), an address with no account gets a join link instead, and both emails carry a 6-digit code for verifyAuthCode; the response is the same either way.

requestMagicLink(analyticsContext: JoinAnalyticsContextInput, attributionToken: String, captchaToken: String, createIfMissing: Boolean, dateOfBirth: String, email: String!, forApp: Boolean, locale: String, nationality: String, partnerId: ID, partnerSlug: String, propertyId: ID, redirectUrl: String, referralCode: String, returnUrl: String, signupLocation: SignupLocation, userType: String!, utmCampaign: String, utmMedium: String, utmSource: String, viaHandle: String): RequestMagicLinkResult!

requestPartnerBotSignInCode

A partner bot asks AKIN to email a member a 6-digit sign-in code (akin-travel/issues#8170). Needs a SECRET partner API key. An address with an account gets the log-in email, branded for the key’s partner, with a code for verifyPartnerBotSignInCode; an address AKIN does not know gets nothing — no account, no join email — and the SAME answer. Sign in only, never join

requestPartnerBotSignInCode(email: String!, locale: String): PartnerBotSignInCodeResult!

signUpPasswordless

Creates a member account via an email verification link (website/white-label). NOT the passkey flow (passkeys are enrolled post-signup); NOT the removed iOS OTP login.

signUpPasswordless(input: SignUpPasswordlessInput!): SignUpResult!

updateMember

Update member

updateMember(id: ID!, input: UpdateMemberInput!): Member!

verifyAuthToken

Verify auth token from email link and return Firebase custom token for sign-in.

verifyAuthToken(token: String!): AuthTokenResult!

verifyPartnerBotSignInCode

A partner bot swaps the 6-digit code a member received for a READ-ONLY token for that member (akin-travel/issues#8170). Needs the same SECRET partner API key, and only a code that key’s partner asked for. The code and the link in its email are one credential: whichever is used first, the other is refused. Returns an AKIN-signed bearer carrying the partner-bot read scope — every write tool on /mcp and every mutation on /graphql refuses it, and it is not a Firebase credential — or a typed refusal. A sign-in that needs a step a chat cannot finish answers SIGN_IN_ON_WEBSITE and no token. Never creates an account

verifyPartnerBotSignInCode(code: String!, email: String!): PartnerBotSignInResult!

Types

AuthRefusal

Enum

Why a sign-in code or link was refused (akin-travel/issues#6816). WRONG_CODE: the code is wrong and the member may try again. CODE_EXPIRED: the code is dead (used, expired, replaced by a newer email, or never sent) — request a new one. CODE_LOCKED: too many tries — request a new code. LINK_ALREADY_USED: the link (or its code) has already been used. CODE_DAILY_LIMIT: too many code tries for this address today — the link in the email still works (akin-travel/issues#6748). CODE_SUPERSEDED: a newer email for this address replaced the code — use the code in the newest email (akin-travel/issues#8929)

ValueDescription
CODE_DAILY_LIMIT
CODE_EXPIRED
CODE_LOCKED
CODE_SUPERSEDED
LINK_ALREADY_USED
WRONG_CODE

AuthTokenResult

Object

Result of token verification

FieldTypeDescription
customTokenStringFirebase custom token for sign-in
errorStringError message if failed
initialSyncInitialSyncSummaryAlways null — the welcome sync was removed. Kept for installed mobile builds that select it
isNewUserBooleanWhether this is a new user (first verification)
legalAcceptanceRequiredBooleanTrue when the signed-in member has recorded no Terms or Privacy acceptance at all — a member created at this sign-in, or one synced from a PMS without signing up (akin-travel/issues#6555). A client then shows the member the same Terms + Privacy clickwrap as sign-up (on the web, at magic-link sign-in, before the page continues) and records it with reacceptLegalTerms, which stamps the in-force versions server-side. It is advisory, not a gate: no operation is refused without it (akin-travel/issues#3855). False for a member who has accepted any version, and for a sign-up, which records both versions itself
memberDataMemberMember data if user is a member
programTermsAcceptanceRequiredBooleanTrue when the link was sent from a white-label Program’s site and the signed-in member’s ACTIVE enrolment in that Program records no accepted Program Terms version — a member created at this sign-in, or one who joined before Row 1 shipped (akin-travel/issues#6602). False for a member not yet in the Program: the link enrols them only when a partner key or an existing link proves the partner (akin-travel/issues#8435), and the white-label page asks its consent step, which enrols them. A white-label client then shows Row 1 of the sign-up consent screen and records it with acceptProgramTerms, which resolves the version server-side. Read it beside legalAcceptanceRequired: Row 1’s one tickbox covers the AKIN Terms and Privacy Policy too. Advisory, like legalAcceptanceRequired. False for a link with no partner, AKIN, a partner with no white-label Program, and a join. The website ignores it: its sign-in step has no Program Terms
refusalAuthRefusalWhy the code or link was refused, for a client to branch on instead of matching error (akin-travel/issues#6816). Set on every verifyAuthCode refusal and on the link replay refusal; null on success and on every other failure
requiresPasskeyBooleanWhether passkey setup is required
serverSignUpSentBooleanTrue only when this verify created a member from a join link and the API sent its GA4 sign_up with the asking browser’s consent and client id (akin-travel/issues#8941). The client then sends login, not sign_up
successBoolean!Whether verification was successful
tenantIdStringTenant ID used when creating the custom token
userIdStringUser ID
userTypeStringUser type: MEMBER or DASHBOARD_USER

Booking

Object

Booking/reservation record

FieldTypeDescription
adultCountInt
averageNightlyRateFloat!Average nightly rate (total price / nights), in the booking currency — cents preserved
balanceOwedFloatBalance the guest owes the property on arrival: stay total − the AKIN 15% reservation deposit (bookingFee). NULL when no AKIN deposit was collected (a PMS-synced reservation where the property takes the whole amount at the desk) — clients render NULL as a fallback (the dashboard uses ”—”).
bookingDateDateTimeISO
bookingFeeFloatBooking fee amount (10% of total)
bookingFeePaidBoolean!Whether the booking fee has been paid
bookingFeePaidAtDateTimeISOWhen the booking fee was confirmed paid
bookingSourceIdStringFK to booking_sources table for channel attribution
bookingSurfaceStringThe site the booking was made on — AKIN or WHITE_LABEL, read from its trip. NULL for a booking with no trip (a PMS or channel import). Populated by the bookings list query only
bookingSurfaceNameStringAKIN, or the name of the partner whose site took the booking. NULL for a booking with no trip. Populated by the bookings list query only
cashDepositCollectedFloatActual cash Stripe collected for this booking (the 15% deposit minus any travel credit applied), in the booking currency. Computed by the Stripe webhook as booking_fee * (chargeAmount / baseChargeAmount). The PMS push orchestrator posts THIS to the Cloudbeds folio instead of total_price, so the folio matches what AKIN charged the card. NULL = not recorded; 0 = travel credit covered the full deposit.
channelGuestConfirmationNumberStringOTA guest-facing confirmation number (e.g. Booking.com 6044.913.102 the guest sees on their confirmation email). Distinct from pms_confirmation_number, which carries the channel-feed property-facing reservation id. Populated for OTA-channel bookings only. See akin-travel/issues#1551.
channelNameStringBooking channel from PMS (e.g., Direct, Booking.com, Expedia). Used for loyalty eligibility.
checkInStringCheck-in date (YYYY-MM-DD, property-local). NULL for bad-data rows with no recorded check-in.
checkOutStringCheck-out date (YYYY-MM-DD, property-local). NULL for bad-data rows with no recorded check-out.
childCountInt
confirmationNumberString
consolidatedFrom[String!]Array of original booking IDs that were merged into this one
createdAtDateTimeISO!
currencyString
depositRefundAmountFloatDeposit amount refunded on an in-window (flexible-rate) cancellation, in depositRefundCurrency
depositRefundCurrencyStringISO currency of the deposit refund
depositRefundTypeDepositRefundTypeHow the deposit refund was issued: CASH (Stripe) or CREDIT (travel credit)
depositRefundedAtDateTimeISOWhen the deposit refund was issued
eligibilityReasonString⚠️ Deprecated. Sunset 2026-12-08: Use eligibilityReasonCode and translate client-side. Removal is blocked by GET_MEMBER_PROFILE (packages/api-client/src/operations/member.ts), which the dashboard member page fetches for BookingHistoryTable — akin-travel/issues#5572 — Deprecated alias of eligibilityReasonCode. Populated identically during migration.
exchangeRateFloatUSD exchange rate used for conversion
feesFloat
guaranteeCardReferenceStringPMS-side id of the stored guarantee card — for Mews the creditCards/getAll Id, i.e. the paymentMethodId the Checkout embed returns. A vault reference, never card data: AKIN never sees a PAN. It may be set with guaranteeCollectedAt still NULL, and that combination is meaningful rather than inconsistent (akin-travel/issues#5535): the status poll stamps this reference as soon as it VERIFIES a card, because AKIN cannot delete a stored Mews card and this row is the only durable trace of one it caused to be stored, while guaranteeCollectedAt is written only by the confirm and is what marks a booking GUARANTEED. So this field alone means OBSERVED, not collected — never read it as evidence of a guarantee, and never as evidence a booking confirmed.
guaranteeCollectedAtDateTimeISOWhen the guest’s card was stored as a guarantee for this booking — no charge was taken (akin-travel/issues#4586). NOT NULL means AKIN collected no deposit by design: bookingFee and cashDepositCollected are legitimately NULL, and balanceOwed is therefore NULL (the guest owes the property the whole stay). NULL on every deposit-model and PMS-imported booking.
guestEmailStringGuest email for non-member bookings (for future member linking)
guestIdentityWithheldBooleanTrue when guest identity on this row was withheld by the Customer Data Availability Policy post-stay cutoff (the stay checked out over 60 days ago and the caller is partner/property staff). NULL = the policy did not act. Read this instead of inferring ‘not linked’ from a blank memberId — a withheld row and a genuinely member-less row look identical otherwise. Discloses nothing about whether a member is attached: every lapsed row is anonymised, linked or not.
guestPhoneStringGuest phone (E.164) for non-member bookings — orphan-link signal alongside guest_email
guestsInt
idID!
isAkinManagedBoolean!True when AKIN owns this booking’s lifecycle — created through AKIN direct-booking checkout (source=WEBSITE / trip flow) — vs a reservation synced in from the property PMS. Member-facing cancel / perks / edit controls gate on this so a synced reservation can’t be cancelled or have rewards changed through AKIN. See akin-travel/issues#1925.
isConsolidatedBoolean!True if this booking was created by merging manual + PMS bookings
isLinkedBoolean!True when the booking is linked to a member account (memberId is set). False = OTA/non-member booking.
isOriginBookingBoolean!True if booking is at member origin partner (members.origin_partner_id == property.partnerId). Never the vestigial members.partner_id — akin-travel/issues#4857
loyaltyForfeitFractionFloatThe forfeited share behind loyaltyForfeitVerdict, 0-1: (0, 1] on EARNS, exactly 0 on FORFEITS, NULL on HELD and on every unstamped row (akin-travel/issues#5686). Points are round(fraction × spend_usd) and Travel Credit is fraction × the booking’s 2.5%, so a fraction below 1 is the pro-rata line the activity statement shows.
loyaltyForfeitVerdictStringWhich way this booking’s loyalty went on a cancel or no-show (akin-travel/issues#5686, epic #5683): EARNS (the member forfeited money and keeps the Points and Travel Credit on the forfeited share), FORFEITS (nothing was forfeited, nothing earns) or HELD (undecidable from the data — the folio settlement sweep or a human decides). NULL on every booking that has not been cancelled or no-showed since LOYALTY_ON_FORFEIT went live, and on every PMS-imported one. Read forfeitPreview for the copy a member sees BEFORE cancelling.
memberDiscountAmountFloatThe money memberDiscountRateApplied comes to on this booking’s CURRENT totalPrice, in the booking’s own currency. Written at checkout and rewritten by every date change: the change re-prices at the tier in effect at the time of the change and writes the rate it applied and the discount that rate came to on the new dates in the same statement, so this is always the saving on the stay the member now holds. 0 when the rate took nothing off it (the rate is 0, or the rail could not carry an AKIN price); NULL exactly when memberDiscountRateApplied is NULL.
memberDiscountRateAppliedFloatThe member discount fraction AKIN last applied to this booking: stamped at checkout from the tier the member held then, and rewritten by every date change from the tier the member holds at the time of the change, up or down (akin-travel/issues#5997). 0.15 is 15%. 0 = the per-tier path ran and applied nothing (a guest, no partner rate, a rail that cannot carry one, a plan excluded from the member rate, or a plan that already carried the discount). NULL = the path has not run for this booking, because ENABLE_TIER_MEMBER_RATE was off at booking and at every date change since.
memberIdStringMember ID (null for non-member OTA bookings)
memberTierAtStayStringLoyalty tier code the member held on arrival for this stay (e.g. TIER2), stamped once by the database on first CHECKED_IN/CHECKED_OUT/COMPLETED. Read-only. NULL = unknown, not a tier.
membershipYearIntMembership year (-1 = pre-membership, 1+ = membership years, null = unknown). Computed, not stored.
mergedIntoBookingIdStringIf this booking was merged, points to the consolidated booking ID
metadataBookingMetadataBooking metadata
nightsInt!Number of nights (minimum 1 for same-day stays)
paymentStatusPaymentStatus
pmsBookingIdString
pmsCancelStatusStringOutbound PMS cancel push state — tracked separately from create
pmsConfirmationNumberStringPMS confirmation number (from property management system)
pmsCustomerIdStringGuest ID in the PMS (Mews CustomerId etc.)
pmsLastErrorStringMost recent PMS push error message
pmsLastSyncedAtDateTimeISOLast successful PMS push timestamp
pmsPaymentPostedAtDateTimeISOWhen the Stripe-collected payment was posted to the PMS folio (Cloudbeds postPayment). NULL = not yet posted. Guards against double-post on retry. Set ONLY after a confirmed post (akin-travel/issues#1909), so a crash before the post leaves this NULL and the deposit stays retryable.
pmsReportedTotalFloatWhat the PMS last reported this AKIN-managed booking costs, in the booking currency, once it has differed from totalPrice (akin-travel/issues#6309). AKIN keeps totalPrice/subtotal/taxes/fees (the checkout figures and the commission basis); a genuine PMS modification lands its total here instead. NULL when the PMS never reported a differing total, or the booking is PMS-imported and totalPrice follows the PMS.
pmsReportedTotalAtDateTimeISOWhen the PMS report in pmsReportedTotal was received (akin-travel/issues#6309). NULL exactly when pmsReportedTotal is NULL.
pmsSyncAttemptsIntNumber of attempts made to push this booking to the PMS
pmsSyncStatusStringOutbound PMS push state: NOT_APPLICABLE, PENDING, SYNCING, SYNCED, FAILED
pointsEarnedIntPoints earned from this booking (derived from total_price + currency exchange rate)
propertyIdString!
rateCurrencyStringCurrency of the rate charged (from availability)
ratePlanIdStringRate plan ID
refundabilityAtCheckoutRatePlanRefundabilityThe refundability label the member was shown at checkout, frozen at booking (akin-travel/issues#5685, exposed by akin-travel/issues#6334): REFUNDABLE, NON_REFUNDABLE or UNKNOWN (the rate said nothing either way). NULL means NO LABEL WAS RECORDED — every PMS-imported booking and every checkout before the column existed — and must never be read as non-refundable. Read it behind freeCancellationDeadline: a recorded deadline is the more precise answer. It describes the rate, it does not decide a change or a cancellation — the server’s quote does.
roomCountInt
roomTypeIdStringRoom type ID
sourceString
specialRequestsString
spendUsdFloatSpend converted to USD via exchange rate
statusBookingStatus
staySubtotalFloatThe pre-tax portion of stayTotal, resolved on the SAME basis. Render this — never the raw subtotal column — above a taxesFeesTotal row: the raw columns hold the checkout QUOTE, which at a Colombian property is a tax the folio does not charge, so stacking them under stayTotal shows a sum that does not add up.
stayTotalFloatThe full tax-inclusive stay total. Resolved folio-first (the property PMS is authoritative), falling back to the persisted subtotal+taxes+fees, then to the pre-tax total_price. Use this, not totalPrice, for any member-facing “what this stay costs” figure.
stripePaymentIntentIdStringStripe PaymentIntent ID for booking fee
subtotalFloat
taxIncludedBoolean!Whether the stay total genuinely accounts for tax. False means no tax was ever established for this booking (non-Cloudbeds property, no connection, failed quote, or a pre-#4904 row), so surfaces must disclose that property taxes may apply on top. A genuinely quoted zero is TRUE with a zero tax figure — the two are not the same fact.
taxQuoteSourceStringProvenance of subtotal/taxes/fees: PMS_QUOTE = quoted from the property PMS at checkout (the figure the deposit was sized off); UNQUOTED = no quote was obtainable, so the deposit fell back to pre-tax. NULL on rows predating akin-travel/issues#4904 — read as unknown, NEVER as zero-tax.
taxesFloat
taxesFeesTotalFloat!Tax + fees inside stayTotal. Zero both when tax is genuinely zero and when it was never established — read taxIncluded to tell those apart.
totalPriceFloat
tripIdStringTrip ID (when booked via trip flow)
updatedAtDateTimeISO!

BookingMetadata

Object

Booking metadata

FieldTypeDescription
confirmationSentBoolean
internalNotesString
notesString
reminderSentBoolean
sourceString

BookingStatus

Enum

ValueDescription
CANCELLED
CHECKED_IN
CHECKED_OUT
COMPLETED
CONFIRMED
MERGED
NO_SHOW
PENDING

DateTimeISO

Scalar

A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the date-time format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.This scalar is serialized to a string in ISO 8601 format and parsed from a string in ISO 8601 format.

DepositRefundType

Enum

ValueDescription
CASH
CREDIT

DeviceInfoInput

Input

Device information for session tracking

FieldTypeDescription
browserString
deviceString
ipAddressString
osString
userAgentString

EnrollMemberInput

Input

Server-to-server member enrollment by a partner

FieldTypeDescription
emailString!Member email (matched case-insensitively for idempotency)
externalIdStringPartner’s own loyalty key for this member on their side. Unique per partner.
firstNameString!
lastNameString!
propertyIdStringThe property the person signed up at. Must be one of your properties, or the call is refused with PROPERTY_NOT_FOUND and nothing is created. Set on a new member only; an existing member keeps its property.

EnrollMemberResult

Object

Result of a partner server-to-server member enrollment

FieldTypeDescription
createdBoolean!True if a new member account was created (vs an existing one reused)
enrollmentChangedBoolean!True if the partner enrollment was newly created or reactivated
memberIdID!AKIN member id for the partner to persist

EnrollmentSource

Enum

ValueDescription
DASHBOARD
MANUAL
MIGRATION
SDK
SIGNUP
URL_PARAM
WHITE_LABEL

GIPMemberAuthPayload

Object

GIP member authentication payload

FieldTypeDescription
memberDataMember!Loyalty member data
userMemberUser!GIP user information

InitialSyncSummary

Object

Summary of initial signup sync (past + future stays)

FieldTypeDescription
failedStaysCountInt!Stays that failed to import and were skipped. Never populated: the welcome sync was removed
futureStays[SyncedStay!]!Future stays (no points yet)
futureStaysCountInt!Number of future stays synced
messageStringSummary message
pastStays[SyncedStay!]!Past stays with points awarded
pastStaysCountInt!Number of past stays synced
pointsAwardedInt!Total points awarded from past stays
successBoolean!Whether sync was successful

JSONObject

Scalar

The JSONObject scalar type represents JSON objects as specified by ECMA-404 .

JoinAnalyticsContextInput

Input

With createIfMissing: the asking browser’s analytics consent and GA4 client id, for the server-sent GA4 sign_up of a join (akin-travel/issues#8941). Ignored without createIfMissing, and for an address that has an account

FieldTypeDescription
analyticsConsentBooleanTrue only when the browser has granted analytics consent. Anything else is stored as no consent
gaClientIdStringThe GA4 client id (\<digits>.\<digits>, from the _ga cookie), sent only with consent. Dropped without consent; a value of another shape is stored as none

LoginMemberGIPInput

Input

GIP (Google Identity Platform) authentication input for website members

FieldTypeDescription
countryCodeStringCountry code (e.g., AU, US, GB)
dateOfBirthStringDate of birth, YYYY-MM-DD, 18 or over (Customer Terms §3.1). Read only when this sign-in CREATES the member (a GIP user with no member row), and required for that create: without it the create is refused with the dateOfBirth field error signUpPasswordless gives. Never written to an existing member. See akin-travel/issues#7230, #7870
deviceInfoDeviceInfoInput
enrollmentSourceEnrollmentSourceWhere the sign-in originated from (white-label site, URL param, SDK, etc.). Used to tag partner enrollments for existing members signing in with a new partner context. Defaults to WHITE_LABEL when partnerId is set and this is omitted, or SDK when the request is partner-SDK-authenticated. Issue #1160.
firstNameStringFirst name for new member registration
genderStringGender, one of FEMALE, MALE, NON_BINARY, SELF_DESCRIBED, PREFER_NOT_TO_SAY (“Prefer not to say” is an answer). Read only when this sign-in creates the member, and required for that create, as the date of birth is: without it the create is refused with the gender field error. Never written to an existing member. See akin-travel/issues#8402
genderSelfDescriptionStringThe member’s own words for their gender, up to 80 characters, with gender SELF_DESCRIBED. Read only when this sign-in creates the member. See akin-travel/issues#8402
idTokenString!GIP ID token from client authentication
lastNameStringLast name for new member registration
marketingOptInBooleanMarketing email opt-in preference
nationalityStringNationality (citizenship) as an ISO 3166-1 alpha-2 code — NOT countryCode, the phone’s dial country. Read only when this sign-in creates the member; optional, and validated when sent. See akin-travel/issues#7230, #7870
partnerIdStringPartner ID for attribution tracking
phoneStringPhone number for SMS/MFA
termsAcceptedBooleanTerms and conditions acceptance

LoyaltyTierConfig

Object

Loyalty tier configuration

FieldTypeDescription
activeBoolean!
cardBodyDataString
cardFooterDataString
createdAtDateTimeISO!
directBookingDiscountRateFloatFraction off the direct-booking price for a member holding this tier, on a rail that carries a price (the Mews channel-manager push). 0.15 is 15%; the stored value is range-checked to [0,1]. NULL means the rung is unset — NOT a zero-discount rung.
directBookingRatePlanNameStringName of the PMS rate plan a member holding this tier books, resolved per property by name at quote time (the Cloudbeds delivery, where the property prices the stay). A name rather than a rate plan id because one rung serves every property in the partner. NULL means this rung delivers no tagged plan.
displayNameString!
displayOrderInt!Ladder position, 1-based ascending. NOTE: backed by loyalty_tier_configs.tier_level, NOT the table’s display_order column. Sort ladder axes on this.
eligibilityString
idID!
maxPerksAllowedInt!
partnerIdString
secretBenefitsBoolean!Secret benefits — hide benefit details unless member has reached this tier
sourceLocaleString!BCP-47 locale this tier config was authored in. Drives the source language used by translation.service.
tierBylineString
tierColorString
tierIconString
tierNameTierName!
tierTextColorString
tierTypeTierType!
translationsJSONObjectAuto-translated content per locale
updatedAtDateTimeISO!

LoyaltyTransaction

Object

Loyalty points transaction record

FieldTypeDescription
balanceAfterInt⚠️ Deprecated. Sunset 2027-03-08: No longer computed. Use getMemberBalance query instead. Removal is blocked by the published @akin-travel/sdk-core 0.1.0, 0.1.1 and 0.2.0 (live in apps/api/deployed-client-operations/registry.json; their frozen snapshots select it), by Android 1.1.3 (10103), live on Play with no snapshot, whose GetLoyaltyTransactions selected it, by the partner SDK document GET_LOYALTY_TRANSACTIONS_WITH_METRICS (packages/sdk-core/src/graphql/server-operations.ts), and by GET_LOYALTY_TRANSACTIONS_WITH_METRICS, GET_ACCOUNT_PAGE_DATA, GET_WHITE_LABEL_LOYALTY_DATA and GET_LOYALTY_TRANSACTIONS_BY_MEMBER (packages/api-client/src/operations/member.ts). GET_LOYALTY_TRANSACTIONS (member.ts) and the LOYALTY_TRANSACTION_FIELDS fragment (packages/api-client/src/fragments/booking.fragments.ts) also select it but nothing uses them; delete them with the field. akin-travel/issues#9038 clears these consumers
bookingChannelNameStringBooking channel from PMS (e.g., Direct, Booking.com)
bookingCheckInStringBooking check-in date YYYY-MM-DD (for booking transactions)
bookingCheckOutStringBooking check-out date YYYY-MM-DD (for booking transactions). With bookingStatus, it is what the member activity statement leads a row by when no stay describes it: a future check-out is an upcoming stay, never a completed one (akin-travel/issues#6938).
bookingIdString
bookingSourceTypeStringBooking source type (web_direct, admin_direct, direct, pms, consolidated)
bookingStatusStringThe booking’s own status (CONFIRMED, CANCELLED, NO_SHOW, CHECKED_OUT, …) for booking transactions, null elsewhere (akin-travel/issues#6938). Display only: the earn label still keys on earnBasis.
createdAtDateTimeISO!
currencyStringOriginal booking currency code
descriptionString
droppedNightsIntThe nights a shortened stay dropped, behind an AMENDMENT_FORFEIT earnBasis (akin-travel/issues#5869, epic #5862) — read through the leg’s forfeit event, since that leg carries no booking. The statement renders ‘Shortened stay · {property} · 2 nights’. NULL on every other leg. Populated only by loyaltyTransactionsWithMetrics and accountPageData (activityLog); always null on the loyaltyTransaction, loyaltyTransactions and loyaltyTransactionsByMember reads (akin-travel/issues#7752).
earnBasisStringWhat this BOOKING leg is earned on (akin-travel/issues#5688, epic #5683): FORFEIT for a cancel / no-show whose loyalty_forfeit_verdict is EARNS — the member forfeited money and keeps the Points on the forfeited share, dated at the forfeit — or COMPLETED_STAY for every other booking leg, including one that earns nothing. NULL on the referral and adjustment legs. The activity-statement label (‘Forfeited booking’ vs ‘Completed stay’) keys on this, never on bookingStatus.
eligibilityReasonCodeStringEligibility reason code for BOOKING transactions (null = eligible). Codes: BOOKING_CANCELLED, STATUS_NOT_COMPLETED, PRE_MEMBERSHIP_OUTSIDE_WINDOW, OTA_NOT_ELIGIBLE, NON_REVENUE_CHANNEL. Null on another partner’s stay for a partner-facing reader, whatever the code: the code names the stay’s lifecycle (akin-travel/issues#8242).
exchangeRateFloatExchange rate to USD at time of booking
expiresAtDateTimeISOWhen these points expire (null = never)
idID!
isDuplicateBooleanTrue when this transaction is a same-day same-property duplicate of another transaction for this member — computed server-side via ROW_NUMBER so pagination cannot split a duplicate group across pages (akin-travel/issues#1231).
isMergedDuplicateBooleanTrue on the BOOKING leg of a MERGED booking — a duplicate import folded into a surviving booking, which carries its points (akin-travel/issues#7860). Never withheld, so a reader without the survivor’s reference still sees the row as merged, not pending. False on every other row.
isPermanentBooleanTrue if points never expire (tattoo, etc.)
loyaltyForfeitFractionFloatThe forfeited share behind a FORFEIT earnBasis, 0-1 (akin-travel/issues#5686): below 1 the statement adds a pro-rata line (‘25% of the stay was charged’). NULL on every other leg. Populated only by loyaltyTransactionsWithMetrics and accountPageData (activityLog); always null on the loyaltyTransaction, loyaltyTransactions and loyaltyTransactionsByMember reads (akin-travel/issues#7752).
memberIdString!
membershipYearIntMembership year (-1 = pre-membership, 1+ = membership years, null = unknown)
mergedIntoBookingReferenceStringThe surviving booking’s reference (its PMS confirmation number, else its AKIN confirmation number, else ’#’ and the first 8 characters of its id) on the BOOKING leg of a MERGED booking, a duplicate import the cross-rail merge folded into that survivor; null on every other row (akin-travel/issues#7860). The admin activity statement says ‘Merged into <reference>’ instead of the pending copy the view’s STATUS_NOT_COMPLETED code would give it. Withheld from a reader outside the survivor’s tenancy (partner staff outside its partner, property staff outside its property), as Booking is; isMergedDuplicate still says the row is merged.
nightsMemberOriginIntNights (member origin scope)
nightsNetworkIntNights (network scope)
nightsPartnerIntNights (partner scope - requires context)
pointsChangeInt!
propertiesMemberOriginIntDistinct properties (member origin scope)
propertiesNetworkIntDistinct properties (network scope)
propertiesPartnerIntDistinct properties (partner scope - requires context)
propertyIdStringProperty ID of the booking that produced this transaction (populated only via loyaltyTransactionsWithMetrics; null on the plain ledger query)
reasonString
relatedMemberEmailStringObfuscated email of the related member (for referral transactions)
sourceStringSource of this transaction (booking, referral, preference, adjustment)
spendMemberOriginFloatSpend in USD (member origin scope)
spendNetworkFloatSpend in USD (network scope)
spendOriginalFloatSpend in original booking currency
spendPartnerFloatSpend in USD (partner scope - requires context)
staysMemberOriginIntStays (member origin scope). Null on another partner’s booking for a partner-facing reader, as staysNetwork (akin-travel/issues#8242).
staysNetworkIntStays (network scope). 0 on a cancelled or no-show booking. Null on another partner’s booking for a partner-facing reader, where the count would say the stay was cancelled (akin-travel/issues#8242).
staysPartnerIntStays (partner scope - requires context)
transactionTypeLoyaltyTransactionType!

LoyaltyTransactionDirection

Enum

Direction of a server-to-server partner points write

ValueDescription
CREDIT
DEBIT

LoyaltyTransactionType

Enum

Type of loyalty transaction

ValueDescription
ADJUSTED
ADJUSTMENT
AMENDMENT_FORFEIT
BONUS
BOOKING
EARN
EARNED
EXPIRATION
EXPIRED
REDEMPTION
REFERRAL
REFERRAL_REFERRED
REFERRAL_REFERRER
SPENT

LoyaltyTransactionsWithMetricsResult

Object

Paginated loyalty transactions with tier metrics

FieldTypeDescription
items[LoyaltyTransaction!]!
totalCountInt!

Member

Object

Member of the loyalty program

FieldTypeDescription
accessibilityNeedsStringMember-supplied accessibility needs, free text (may be GDPR Art. 9 health data — optional, never inferred).
addressCityStringPostal address — city.
addressCountryCodeStringPostal address — ISO 3166-1 alpha-2 country code, upper-case.
addressLine1StringPostal address — line 1.
addressLine2StringPostal address — line 2.
addressPostalCodeStringPostal address — postal code.
addressRegionStringPostal address — state / region.
attributionMemberAttributionWhy this member is in the viewing partner’s cohort, and until when. NULL means not resolved for this viewer (GLOBAL scope / policy dark) — it is NOT a tie and must never render as a default one
avatarModerationStringAvatar moderation status: null (pending), approved, rejected
avatarUrlStringURL of member profile avatar image
closedAtDateTimeISOWhen the member closed their account (soft-delete); row is hard-purged 3 years after this
countryCodeString
createdAtDateTimeISO!
emailString!
emailPreferencesJSONObjectPer-template-code email opt-in/out map. Shape: { “<templateCode>”: boolean }. Absent entry = use default (transactional always on; marketing falls back to marketing_opt_in). See akin-travel/issues#1563
emergencyContactNameStringEmergency contact — name.
emergencyContactPhoneStringEmergency contact — phone number, validated like the member phone.
firstNameString
idID!
initialBonusAwardedAtDateTimeISOWhen initial signup sync was performed (one-time bonus)
lastNameString
loyaltyNumberString
marketingOptInBoolean
networkYearStartDateTimeISOWhen member network year began (for annual reset)
originPartnerIdStringPartner where member originally signed up
originPropertyIdStringProperty where member originally signed up (for QR code tracking)
perkPreferences[String!]
phoneString
placeTypePreferences[String!]
preferencesBonusAwardedIntPoints the one-time travel-preferences bonus paid on THIS updateMember write; null on every other write and every other read
preferredCurrencyStringDisplay currency the member chose (ISO 4217, one of DISPLAY_CURRENCY_CODES). Null when never chosen — the client keeps the browser’s stored choice.
preferredLanguageString
privacyAcceptedAtDateTimeISOServer-stamped time the member accepted the Privacy Policy
privacyAcceptedVersionStringPublished Privacy Policy version the member accepted (e.g. v24.05.2026). See akin-travel/issues#1820
processingObjectionAtDateTimeISOGDPR Art. 21 (AKIN-1023#AKIN-1039): when a staff-upheld objection to legitimate-interests processing took effect. Non-NULL suppresses every MARKETING-category email at the send-time gate, ahead of marketingOptIn and emailPreferences. NULL = no active objection. Set only by resolveProcessingObjection, never by the member.
signedUpByUserIdStringDashboard/staff user who enrolled this member (for staff competition leaderboard)
signupLocationSignupLocationWhere the member originally signed up
statusMemberStatus
termsAcceptedBoolean
termsAcceptedAtDateTimeISOServer-stamped time the member accepted the Customer T&C
termsAcceptedVersionStringPublished Customer T&C version the member accepted (e.g. v24.05.2026); pre-v24.05.2026 for legacy rows. See akin-travel/issues#1820
updatedAtDateTimeISO!
utmCampaignStringUTM campaign parameter captured at signup (e.g., spring2026)
utmMediumStringUTM medium parameter captured at signup (e.g., newsletter, cpc)
utmSourceStringUTM source parameter captured at signup (e.g., email, google)
vibePreferenceString

MemberAttribution

Object

Why a member is in the viewing partner’s cohort, and when that ceases

FieldTypeDescription
checkInStringCheck-in of the booking behind the tie (YYYY-MM-DD). Null for WHITE_LABEL — a standing enrolment owns no booking
checkOutStringCheck-out of the booking behind the tie (YYYY-MM-DD). Null for WHITE_LABEL
tieMemberQualifyingTie!The member’s strongest qualifying tie to the viewing partner
visibleUntilStringLast day this tie keeps the member in the cohort (YYYY-MM-DD): check-in for CANCELLED_UPCOMING, check-out + 60 days for POST_STAY_WINDOW. Null when the tie has no date-bounded expiry (BOOKING_WINDOW rolls into the post-stay window; WHITE_LABEL is standing) — never a guess

MemberProfile

Object

Comprehensive member profile with statistics

FieldTypeDescription
bookingHistory[Booking!]!Booking history for this member
favoriteRewardStringMost frequently selected reward/perk
lifetimeStatsMemberStats!Lifetime statistics
memberMember!Core member data
membershipYearStatsMemberStats!Statistics for current membership year (from join date anniversary)
originPartnerNameStringName of origin partner
originPropertyNameStringName of origin property (for QR code tracking)

MemberQualifyingTie

Enum

ValueDescription
BOOKING_WINDOW
CANCELLED_UPCOMING
POST_STAY_WINDOW
WHITE_LABEL

MemberStats

Object

Member statistics for a time period

FieldTypeDescription
akinPointsFloat!AKIN points in this period (derived from bookings; masked to 0 for partner staff when the Data Availability Policy withholds it)
originStaysInt!Number of stays at origin partner
totalNightsInt!Total number of nights across all properties
totalStaysInt!Total number of stays

MemberStatus

Enum

ValueDescription
ACTIVE
BLOCKED
CLOSED
INACTIVE
VIP

MemberTierHistory

Object

Member tier change audit record

FieldTypeDescription
changeReasonTierChangeReason!
createdAtDateTimeISO!
idID!
memberIdString!
metadataString
newTierString!
oldTierString!
pointsAtChangeIntPoints balance snapshot at the tier change. Withheld (null) from partner-facing reads under Data Availability Policy §4 — null means withheld, not zero.
staysAtChangeInt!

MemberTierHistoryConnection

Object

FieldTypeDescription
edges[MemberTierHistoryEdge!]!
pageInfoPageInfo!
totalCountInt!

MemberTierHistoryEdge

Object

FieldTypeDescription
cursorString!
nodeMemberTierHistory!

MemberUser

Object

Member user info from GIP

FieldTypeDescription
countryCodeString
emailString!
emailVerifiedString!
firstNameString
idID!
lastNameString
marketingOptInString
nameString!
phoneString
phoneVerifiedBoolean!
termsAcceptedString
termsAcceptedAtString

PageInfo

Object

FieldTypeDescription
endCursorString
hasNextPageBoolean!
hasPreviousPageBoolean!
startCursorString

PaginationInput

Input

FieldTypeDescription
afterString
beforeString
firstInt
offsetInt

PartnerArrivalPerk

Object

A perk on an arriving booking

FieldTypeDescription
statusString!The fulfilment status: PENDING, FULFILLED, …
textString!
tierStringThe tier key the perk belongs to, when it has one

PartnerArrivalReward

Object

A reward the member can use at this partner, from the partner’s own catalogue

FieldTypeDescription
categoryString
nameString!
rewardIdID!The reward template id

PartnerArrivalRow

Object

One arrival at the partner’s property. Never a name, phone or address

FieldTypeDescription
bookingIdID!
bookingStatusString!The booking status: CONFIRMED or PENDING
checkInString!Check-in day, YYYY-MM-DD
checkOutString!Check-out day, YYYY-MM-DD
confirmationNumberString!
emailStringThe member’s email — only when the member is enrolled with this partner, or the booking is current, upcoming or ended within 60 days. Otherwise null, and always null for an erased or closed member and for a member under a processing restriction or objection
enrollmentSourceStringHow the member enrolled with this partner (SIGNUP, WHITE_LABEL, SDK, …). Null when not enrolled
guestsInt!
isEnrolledMemberBoolean!The member is enrolled with this partner
memberIdID!The AKIN member id. Always set
nightsInt!
originPropertyIdIDThe property the member joined at — only when it is one of this partner’s
perks[PartnerArrivalPerk!]!
pointsBalanceFloatAlways null for a partner API key: no partner sees a member’s points balance (Customer Data Availability Policy §2.1/§4). Set only where the points rule allows it (an AKIN admin, or the member’s own read), and then only for a member enrolled with this partner
priorStaysAtPartnerInt!Completed stays at this partner’s properties before this check-in. Never stays elsewhere
rateCodeStringThe PMS rate code on the booking
rateNameStringThe rate plan name for that code, when the property has one
rewardsUsable[PartnerArrivalReward!]!Rewards the member can use at this partner, at the member’s tier
roomCountInt!
tierStringThe member’s tier name in this partner’s programme

PartnerArrivalsReport

Object

A property’s arrivals for one day

FieldTypeDescription
dateString!The property’s local day, YYYY-MM-DD
propertyIdID!
rowCapInt!The most rows one call returns
rows[PartnerArrivalRow!]!
truncatedBoolean!True when the day has more arrivals than rowCap; the rows are the first rowCap

PartnerBotSignInCodeResult

Object

The answer to requestPartnerBotSignInCode (akin-travel/issues#8170). Identical for an address with an account and one without

FieldTypeDescription
errorStringWhy the request itself failed (a server error). Null on success
successBoolean!True when the request was accepted. It says nothing about whether the address has an account

PartnerBotSignInRefusal

Enum

Why verifyPartnerBotSignInCode refused (akin-travel/issues#8170). CODE_REFUSED: not a code that works — wrong, expired, locked after too many tries, or never sent; ask the member again, and after a few tries send a new code. It never says whether the address has an account. CODE_DAILY_LIMIT: too many tries for this address today — try again tomorrow. LINK_ALREADY_USED: the code, or the link in the same email, was already used — send a new code. SIGN_IN_ON_WEBSITE: the code was right, but this sign-in needs a step a chat cannot finish (legal acceptance, Program Terms, a passkey, or an account the app must set up) — ask the member to sign in on the website or in the app, then come back. CANNOT_SIGN_IN: this address cannot sign in through a bot at all (for example a closed account) — do not send another code

ValueDescription
CANNOT_SIGN_IN
CODE_DAILY_LIMIT
CODE_REFUSED
LINK_ALREADY_USED
SIGN_IN_ON_WEBSITE

PartnerBotSignInResult

Object

The answer to verifyPartnerBotSignInCode (akin-travel/issues#8170)

FieldTypeDescription
errorStringEnglish copy for the refusal, for a bot that reads only text. Null on success
expiresInSecondsIntHow long the token is valid, in seconds, from now. Null on a refusal
refusalPartnerBotSignInRefusalWhy the code was refused, for the bot to branch on instead of matching error. Null on success
successBoolean!True when the code was accepted and a token is returned
tokenStringAn AKIN-signed READ-ONLY bearer for the confirmed member: send it as Authorization: Bearer to /mcp and /graphql. It is not a Firebase token and needs no exchange. Every write tool and mutation refuses it, and it carries no staff access. Expires after expiresInSeconds; there is no refresh — send a new code. Null on a refusal

PartnerMemberRead

Object

Partner-scoped member identity + current loyalty standing (tier).

FieldTypeDescription
emailString!
firstNameString
lastNameString
memberIdID!AKIN member ID
tierTierNameMember’s current calculated tier with this partner (current membership year)

PartnerMemberSignup

Object

One member who signed up with the partner. Never a name, phone or address

FieldTypeDescription
emailStringThe member email — only when the member is enrolled with this partner (an ACTIVE enrolment). Null otherwise, and always null for an erased or closed member and for a member under a processing restriction or objection
enrollmentSourceStringHow the member enrolled with this partner (SIGNUP, WHITE_LABEL, SDK, DASHBOARD, URL_PARAM, MANUAL, MIGRATION). Null when the member is not enrolled with this partner
memberIdID!The member id
nextBookingCheckInStringThe check-in date (YYYY-MM-DD) of that next booking
nextBookingPropertyIdIDThe property of the member’s first booking at this partner’s properties after signing up. Not the stay they signed up on, and not an extension of an earlier stay. Null when there is none
originPropertyIdIDThe property the member signed up at. Null when it is not one of this partner’s properties
signedUpAtDateTimeISO!When the member signed up with AKIN through this partner (the member account was created)

PartnerMemberSignupConnection

Object

A page of the partner’s member sign-ups

FieldTypeDescription
nodes[PartnerMemberSignup!]!Sign-ups in sign-up order, oldest first
pageInfoPageInfo!Pass endCursor as after to read the next page

PartnerMetricDefinition

Object

How one partnerMetrics figure is defined. Built from the AKIN metric registry

FieldTypeDescription
definitionString!What the figure counts, in plain English
fieldString!The PartnerMetricsReport field this describes
idString!The registry id, e.g. partnerReporting.repeatGuests
measureClassString!ADDITIVE, SEMI_ADDITIVE or POINT_IN_TIME
nameString!
summableAcrossDaysBoolean!True when the figures of single days add up to the figure of the window
unitString!count, ratio (0–1), USD or nights

PartnerMetricSuppression

Object

A partnerMetrics figure that is withheld. The figure itself is null

FieldTypeDescription
fieldString!The PartnerMetricsReport field that is null
reasonString!
ruleString!The small-cohort rule that withheld it
suppressedBoolean!Always true

PartnerMetricsReport

Object

Partner Reporting API: the partner’s headline figures for one window, over its own properties

FieldTypeDescription
averageLengthOfStayFloatNights per member booking. Null when withheld: fewer than 5 member bookings behind it
cancellationsInt!Member bookings cancelled or no-show
definitions[PartnerMetricDefinition!]!The definition of every figure on this payload
directBookingRateFloatShare of bookings made through a direct channel, 0–1
fromDateTimeISO!First day of the window (UTC)
loyaltyMemberStayRateFloatShare of stays made by members enrolled with the partner, 0–1
loyaltySignupsIntMembers who signed up in the window. Null when withheld
memberRevenueUsdFloat!Revenue in USD from direct member bookings made after joining
noShowsIntMember bookings with status NO_SHOW. Part of cancellations. Null when withheld: 1–4 no-shows
propertyIdIDThe property the figures are for; null = every property of the partner
repeatGuestRateFloatShare of members with a post-join reservation who made a return visit, 0–1
repeatGuestsIntMembers with a return visit made in the window. Null when withheld
rewardsAttributedRevenueUsdFloatRevenue in USD attributed to a reward redemption. Null when withheld
suppressed[PartnerMetricSuppression!]!One row per figure that is withheld
toDateTimeISO!Last day of the window (UTC), included

PartnerReportingAccess

Object

What a partner API key may do on the Partner Reporting API

FieldTypeDescription
flagEnabledBoolean!The Partner Reporting API flag. Always true here: while the flag is off, every reporting query refuses
partnerIdID!The partner the key is pinned to. Every reporting query reads this partner only
requestsPerMinuteInt!Reporting calls one key may make in a minute
requestsRemainingIntReporting calls left in this minute, after this one. Null when the limiter could not answer
resetsAtDateTimeISO!When the minute window resets, at the latest
scopeString!The scope the key holds for reporting: reporting:read

PasskeyAuthResponse

Object

Passkey authentication response

FieldTypeDescription
customTokenString!Firebase custom token for authentication
tenantIdString!GIP tenant ID the token was created for

PaymentStatus

Enum

ValueDescription
FAILED
PAID
PENDING
REFUNDED

RatePlanRefundability

Enum

ValueDescription
NON_REFUNDABLE
REFUNDABLE
UNKNOWN

RecordLoyaltyTransactionInput

Input

Server-to-server partner points credit/debit

FieldTypeDescription
descriptionStringOptional longer description
emailStringMember email (matched case-insensitively)
externalIdStringPartner’s own external id for the member (as set on enrollment)
idempotencyKeyString!Idempotency token. A retry with the same token returns the original transaction and writes nothing.
memberIdIDAKIN member id
pointsInt!Positive points magnitude to credit or debit
reasonString!Short reason, surfaced in the member activity statement
typeLoyaltyTransactionDirection!

RecordLoyaltyTransactionResult

Object

Result of a server-to-server partner points write

FieldTypeDescription
balanceFloatMember’s network-wide points balance after the write. Withheld (null) from server-to-server partner-key callers under Data Availability Policy §4 — null means withheld, not zero.
idempotentReplayBoolean!True when this matched a prior idempotency key — no new write happened
memberIdID!AKIN member id the points were applied to
pointsChangeInt!Signed delta applied (+credit / -debit)
transactionIdID!The loyalty transaction (adjustment) id
typeLoyaltyTransactionDirection!

RedeemRewardInput

Input

Server-to-server partner reward redemption

FieldTypeDescription
emailStringMember email (matched case-insensitively)
externalIdStringPartner’s own external id for the member (as set on enrollment)
idempotencyKeyString!Idempotency token. A retry with the same token returns the original redemption and writes nothing.
memberIdIDAKIN member id
noteStringOptional note stored with the claim
propertyIdID!Property where the reward was redeemed. Must belong to the key’s partner.
rewardInstanceIdID!Reward instance id — the id returned by rewardInstancesForTier

RedeemRewardResult

Object

Result of a server-to-server partner reward redemption

FieldTypeDescription
idempotentReplayBoolean!True when this matched a prior idempotency key — no new write happened
memberIdID!AKIN member id the reward was recorded against
propertyIdID!Property the redemption was recorded against
redeemedAtDateTimeISO!When the redemption was recorded
redemptionIdID!The member activity (REWARD_CLAIM) id
remainingRedemptionsIntRedemptions of this reward still available to the member under the tightest limit enforced on this claim. Null when no limit is enforced.
rewardIdID!The underlying reward template id — the identity network limits are counted on
rewardInstanceIdID!The reward instance that was redeemed
rewardNameStringEffective reward name at redemption time
tierStringMember’s tier at redemption time

RequestMagicLinkResult

Object

Result of magic link request

FieldTypeDescription
errorStringError message if failed
successBoolean!Whether the request was successful
verificationUrlStringVerification URL (E2E testing only - returned when E2E_AUTO_CONFIRM=true)

SignUpErrorCode

Enum

Why a sign-up was refused. LEGAL_VERSION_STALE: a legal version is no longer in force — read currentLegalVersions again and ask the member to confirm. LEGAL_ACCEPTANCE_REQUIRED: one or both legal versions are missing (akin-travel/issues#6734)

ValueDescription
LEGAL_ACCEPTANCE_REQUIRED
LEGAL_VERSION_STALE

SignUpPasswordlessInput

Input

Passwordless signup input for website/white-label members

FieldTypeDescription
attributionTokenStringTime-bounded HMAC-signed assertion, minted by the white-label server, of the partner whose HOST this sign-up came from. Every other partner signal on this input is client-chosen by design (QR / referral / cookie attribution); this is the only one the API can verify, so it is what gates the Row 1 program-terms write — a consent record must not attach to a partner the caller merely named. It expires a day after it is minted, which is a whole sign-up session and not a page render (akin-travel/issues#5570) — what makes a scraped copy useless is the signature, not the clock. Omitted by the website and the SDK, neither of which writes a program-terms version. See akin-travel/issues#3944
captchaTokenStringCloudflare Turnstile token from the shared invisible widget (akin-travel/issues#3199). Transport-only — consumed by the RequireCaptcha middleware before the resolver body runs and never persisted on the member. Nullable because enforcement is dark-launched behind ENABLE_AUTH_CAPTCHA while the native clients have no Turnstile path; a non-null field would break every existing caller on schema validation alone.
countryCodeStringCountry code (e.g., AU, US, GB)
dateOfBirthStringDate of birth, YYYY-MM-DD. Members must be 18 or over (Customer Terms §3.1). Required, whatever signupLocation says: a sign-up without it is refused with the dateOfBirth field error. Nullable on the wire so an installed client that does not send it gets that field error, not a schema error. See akin-travel/issues#4140, #7870
emailString!Email address
firstNameString!First name
forAppBooleanThe native app is asking for this link (akin-travel/issues#6652). The link then carries the one path the apps claim (/\{locale\}/auth/app-verify) instead of the web path, so it opens the app on a phone that has one; the website forwards the app path to the web sign-in page, so a phone without the app still signs in. Omit it on the web: a web link must open in the browser
genderStringGender, one of FEMALE, MALE, NON_BINARY, SELF_DESCRIBED, PREFER_NOT_TO_SAY (“Prefer not to say” is an answer). Required on a WEBSITE or WHITE_LABEL sign-up, which asks it beside the date of birth: without it the sign-up is refused with the gender field error. Optional on every other surface; a value that is sent is validated. See akin-travel/issues#8402
genderSelfDescriptionStringThe member’s own words for their gender, up to 80 characters, kept only with gender SELF_DESCRIBED (dropped with any other token, as on updateMember). See akin-travel/issues#8402
lastNameString!Last name
localeStringUser locale for email links (e.g., en, de, fr)
marketingOptInBooleanRow 3 — marketing opt-in for AKIN, across the whole AKIN network (spec §2.3). On the website this is the single marketing opt-in
nationalityStringNationality (citizenship) as an ISO 3166-1 alpha-2 code — NOT countryCode, which is the phone number’s dial country. Optional at sign-up; a value that is sent is validated. See akin-travel/issues#4140, #7870
partnerIdIDPartner ID for attribution
partnerMarketingOptInBooleanRow 2 — marketing opt-in for the attributed white-label Partner specifically (spec §2.2). Recorded separately from marketingOptIn: §2.4 forbids collapsing rows 2 and 3 into a single marketing flag. See akin-travel/issues#3427
partnerSlugStringPartner slug for URL building (preferred over partnerId)
phoneStringPhone number
privacyAcceptedVersionStringPublished Privacy Policy version the member agreed to (must match the current LEGAL_PRIVACY_VERSION). See akin-travel/issues#1820
programTermsAcceptedBooleanRow 1 of the white-label consent screen included this program’s WL Program Terms & Conditions (Sign-Up Flow & Consent Spec 18 Jul 2026 §2.1). A boolean, NOT a version: the accepted version is resolved server-side from the attributed program, because the program documents are server-rendered and a client cannot be the authority on which one it showed. See akin-travel/issues#3427
propertyIdIDProperty ID for signup tracking (from QR code links)
redirectUrlStringCustom verification page URL for SDK integrations (e.g., https://viajero.com/auth/verify )
referralCodeStringReferral code from referrer
signedUpByUserIdIDStaff user id credited for this signup (the su param on a promotions QR link). Spoofable — server-validated against the attributed partner and dropped to NULL when it does not belong. See akin-travel/issues#3434
signupLocationSignupLocationSurface the signup originated from. Every surface except SDK must send both legal versions (akin-travel/issues#1820, #7502). An SDK sign-up (or one naming no surface) on a request with a verified partner API key may omit them when termsAccepted is true: the server then records the in-force versions as the partner’s attestation. Without a verified key an SDK claim earns no relaxation
termsAcceptedBooleanTerms and conditions acceptance
termsAcceptedVersionStringPublished Customer T&C version the member agreed to (must match the current LEGAL_TERMS_VERSION). See akin-travel/issues#1820
utmCampaignStringUTM campaign parameter for campaign tracking
utmMediumStringUTM medium parameter for campaign tracking
utmSourceStringUTM source parameter for campaign tracking
viaHandleStringReadable QR handle credited for this signup (the via param on a cascading-QR link, e.g. paula-diaz). Resolved to a dashboard user and validated against the attributed partner exactly like su; wins over su when both are present. See akin-travel/issues#3507

SignUpResult

Object

Result of passwordless signup

FieldTypeDescription
emailStringEmail address
errorStringError message if failed
errorCodeSignUpErrorCodeTyped reason for a refusal, when it has one (akin-travel/issues#6734). Branch on this, not on error: LEGAL_VERSION_STALE means read currentLegalVersions again and ask the member to confirm. Null on success and on refusals without a code
successBoolean!Whether signup was successful
userIdStringUser ID if successful
verificationUrlStringVerification URL (E2E testing only - returned when E2E_AUTO_CONFIRM=true)

SignupLocation

Enum

ValueDescription
ANDROID
DASHBOARD
IOS
SDK
WEBSITE
WHITE_LABEL

StaffSignupsPropertyTotal

Object

The sign-ups at one property, over all its team members

FieldTypeDescription
eligibleSignupsInt!
propertyIdID
propertyNameString
signupsInt!
teamMembersInt!Team members listed under this property, those with no sign-ups included

StaffSignupsReport

Object

Sign-ups by team member for a date range

FieldTypeDescription
dateFromString!First day of the window, YYYY-MM-DD (UTC), included
dateToString!Last day of the window, YYYY-MM-DD (UTC), included
properties[StaffSignupsPropertyTotal!]!One total per property, most sign-ups first
rows[StaffSignupsReportRow!]!One row per team member and property. A team member with no sign-ups in the window has a row with zeros
totalEligibleSignupsInt!
totalSignupsInt!

StaffSignupsReportRow

Object

Sign-ups one team member made at one property. Never names a member

FieldTypeDescription
eligibleSignupsInt!Of those, the members with a non-cancelled stay anywhere in the AKIN network, past, current or future
propertyIdIDThe property the members signed up at. Null when they signed up with no property
propertyNameString
signupsInt!Members this team member signed up at this property in the window
staffNameStringThe team member’s name. Null for a shared login with no person’s name
staffUserIdID!The team member (a staff user)

SyncedStay

Object

A synced stay from initial signup sync

FieldTypeDescription
checkInString!Check-in date (YYYY-MM-DD)
checkOutString!Check-out date (YYYY-MM-DD)
confirmationNumberStringConfirmation number
pointsInt!Points awarded (0 for future stays)
propertyNameString!Property name
sourceStringBooking source

TierBenefitGroup

Object

A group of rewards scoped to all properties or a specific property

FieldTypeDescription
propertyIdStringProperty ID (only when scope=PROPERTY)
propertyNameStringProperty name (only when scope=PROPERTY)
rewardNames[String!]!Reward names in this group
scopeString!ALL_PROPERTIES or PROPERTY

TierBenefitRewardConditions

Object

One reward’s guest-facing conditions at a tier, keyed by the name rewardNames lists it under (akin-travel/issues#9104)

FieldTypeDescription
conditionsString!The conditions in the requested locale, else the source text
rewardNameString!The reward name exactly as rewardNames lists it

TierBenefits

Object

Tier benefits - rewards available at a specific tier

FieldTypeDescription
groups[TierBenefitGroup!]Rewards grouped by scope (all properties vs per-property)
rewardConditions[TierBenefitRewardConditions!]The conditions of each reward in rewardNames that has them; a reward with no conditions is absent (akin-travel/issues#9104)
rewardNames[String!]!Flat list of all reward names at this tier (backward compat)
selectableRewardNames[String!]The names in rewardNames a member chooses at this tier (SELECTABLE)
staffOnlyRewardNames[String!]The names in rewardNames that staff give on request at this tier (STAFF_ONLY) rather than apply to every stay
tierNameString!

TierChangeReason

Enum

Reason for tier change

ValueDescription
MANUAL
POINTS
PROMOTION
STAYS

TierName

Enum

Loyalty tier levels

ValueDescription
TIER1
TIER2
TIER3
TIER4
TIER5

TierType

Enum

How a tier can be achieved - POINTS for activity-based progression, INVITATION for manual assignment only

ValueDescription
INVITATION
POINTS

UpdateMemberInput

Input

FieldTypeDescription
accessibilityNeedsString
addressCityString
addressCountryCodeStringISO 3166-1 alpha-2; upper-cased on write
addressLine1String
addressLine2String
addressPostalCodeString
addressRegionString
avatarUrlStringURL of member profile avatar image
countryCodeString
dateOfBirthStringYYYY-MM-DD; a real past date, member at least 18
emergencyContactNameString
emergencyContactPhoneStringValidated like the member phone
firstNameString
genderStringFEMALE | MALE | NON_BINARY | SELF_DESCRIBED | PREFER_NOT_TO_SAY
genderSelfDescriptionStringAccepted only with gender = SELF_DESCRIBED; cleared otherwise
lastNameString
loyaltyNumberString⚠️ Deprecated. Sunset 2026-12-31: refused; the loyalty number is minted by the server and never changes (akin-travel/issues#7567)
marketingOptInBoolean
nationalityStringISO 3166-1 alpha-2 nationality (citizenship); upper-cased on write. Never countryCode, which is the phone country
perkPreferences[String!]
phoneString
placeTypePreferences[String!]
preferredCurrencyStringDisplay currency (ISO 4217, one of the selectable display currencies); null clears it
preferredLanguageString
signUpStepBooleanTrue only on the sign-up step’s save (the web profile step and details prompt, the apps’ “Set up your account”). The write is refused without a gender, sent or already on file: VALIDATION_ERROR with context { field: “gender”, reason: “REQUIRED” }. Not stored. Every other caller, checkout and the account editors included, leaves it unset and is never asked a gender
termsAcceptedBoolean
vibePreferenceString