# Get user This endpoint gets user details for user ID. Endpoint: GET /v2/users/{userId} Version: v2 Security: Bearer ## Path parameters: - `userId` (string, required) Identifier for user. Example: "4974a66b-7493-4f41-908c-58ba81093947" ## Query parameters: - `includeInactive` (boolean) Include inactive users in the response. Example: true ## Response 200 fields (application/json): - `id` (string) Example: "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3" - `personalInfo` (object) User details. - `personalInfo.addresses` (array) - `personalInfo.addresses.addressLines` (array, required) Address lines Example: ["Golden Gate Bridge"] - `personalInfo.addresses.administrativeArea` (string) Code of administrative area. For example: DL for Delhi, India. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated. Example: "CA" - `personalInfo.addresses.administrativeAreaName` (string) Name of administrative area. This is full name corresponding to administrativeArea. Like Delhi for DL area code. For some places, code and name maybe same as well like Tokyo. Example: "California" - `personalInfo.addresses.description` (string) Address description Example: "San Francisco Home" - `personalInfo.addresses.isDefault` (boolean) Whether this address is default address in case multiple addresses are specified. Example: true - `personalInfo.addresses.languageCode` (string) BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. Examples: "zh-Hant", "ja", "ja-Latn", "en". Example: "en" - `personalInfo.addresses.locality` (string) Generally refers to the city/town portion of the address. Example: "San Francisco" - `personalInfo.addresses.locationCode` (string) IATA 3-letter location code. See https://www.iata.org/en/services/codes. Example: "LAX" - `personalInfo.addresses.organization` (string) The name of the organization at the address. Example: "Spotnana" - `personalInfo.addresses.postalCode` (string) Postal code of the address. This is a required field when setting for a user/legal entity/company etc. Example: "94130" - `personalInfo.addresses.continentCode` (string) 2 letter continent code of the continent this address falls in. Example: "AF" - `personalInfo.addresses.recipients` (array) The recipient at the address. - `personalInfo.addresses.regionCode` (string, required) Region code of the country/region of the address. Example: "US" - `personalInfo.addresses.regionName` (string) Region name of the country/region of the address. Example: "America" - `personalInfo.addresses.revision` (integer) Example: 1 - `personalInfo.addresses.sortingCode` (string) Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). Example: "Jamaica" - `personalInfo.addresses.sublocality` (string) Sublocality of the address. This can be neighborhoods, boroughs, districts. - `personalInfo.addresses.timezone` (string) Time zone of the address. Example: "America/Los_Angeles" - `personalInfo.addresses.coordinates` (object) Map coordinates of the address. - `personalInfo.addresses.coordinates.latitude` (number, required) Latitude of the Location Example: 77.1025 - `personalInfo.addresses.coordinates.longitude` (number, required) Longitude of the Location Example: 28.7041 - `personalInfo.dob` (object) Date in ISO 8601 standard. - `personalInfo.dob.iso8601` (string, required) Example: "2017-07-21" - `personalInfo.email` (string) Example: "example@email.com" - `personalInfo.gender` (string) Enum: "MALE", "FEMALE", "UNSPECIFIED", "UNDISCLOSED" - `personalInfo.identityDocs` (array) List of user identity documents. Example: [{"passport":{"docId":"PASSPORTID","expiryDate":{"iso8601":"2017-07-21"},"issueCountry":"IN","issuedDate":{"iso8601":"2017-07-21"},"nationalityCountry":"IN","type":"REGULAR"}},{"ktn":{"number":"123456","issueCountry":"US"}}] - `personalInfo.name` (object) Full name containing first, middle, last (family) names, and suffix. - `personalInfo.name.family1` (string, required) Last (family) name. Example: "Gandas" - `personalInfo.name.family2` (string) Example: "FamilyTwo" - `personalInfo.name.given` (string, required) First (given) name. Example: "Vichitr" - `personalInfo.name.middle` (string) Middle name. Example: "Kumar" - `personalInfo.name.suffix` (string) Suffix used with the name. For example SR or JR. Enum: "NAME_SUFFIX_UNKNOWN", "SR", "JR", "MD", "PHD", "II", "III", "IV", "DO", "ATTY", "V", "VI", "ESQ", "DC", "DDS", "VM", "JD", "SECOND", "THIRD" - `personalInfo.name.preferred` (string) Informal preferred name added by traveler. This is not used on any PNR or tickets Example: "Don" - `personalInfo.phoneNumbers` (array) - `personalInfo.phoneNumbers.countryCode` (integer) two digit country code Example: 91 - `personalInfo.phoneNumbers.countryCodeSource` (string) Enum: "UNSPECIFIED", "FROM_NUMBER_WITH_PLUS_SIGN", "FROM_NUMBER_WITH_IDD", "FROM_NUMBER_WITHOUT_PLUS_SIGN", "FROM_DEFAULT_COUNTRY" - `personalInfo.phoneNumbers.extension` (string) phone number extension Example: "222" - `personalInfo.phoneNumbers.isoCountryCode` (string) ISO alpha-2 code Example: "IN" - `personalInfo.phoneNumbers.italianLeadingZero` (boolean) Example: true - `personalInfo.phoneNumbers.nationalNumber` (integer) Example: 8150 - `personalInfo.phoneNumbers.numberOfLeadingZeros` (integer) Example: 1 - `personalInfo.phoneNumbers.preferredDomesticCarrierCode` (string) Example: "7" - `personalInfo.phoneNumbers.rawInput` (string) Example: "77777" - `personalInfo.phoneNumbers.type` (string) Enum: "UNKNOWN_TYPE", "MOBILE", "LANDLINE" - `personalInfo.profilePicture` (object) An image with meta data. Either the data or url property must be supplied to load the image. - `personalInfo.profilePicture.data` (string) Example: "6935813e12584abda0e43d71cd2ea260" - `personalInfo.profilePicture.dimensions` (object) Image dimensions ie width and height. - `personalInfo.profilePicture.dimensions.height` (integer) Example: 120 - `personalInfo.profilePicture.dimensions.width` (integer) Example: 240 - `personalInfo.profilePicture.url` (string) Example: "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" - `personalInfo.nationality` (string) Nationality of user Example: "Indian" - `personalInfo.title` (string) Enum: "TITLE_UNKNOWN", "MR", "MS", "MRS", "MX", "MASTER", "MISS", "DR", "PROFESSOR", "CAPTAIN", "REVEREND", "HONOURABLE", "SIR", "LADY", "AMBASSADOR", "LORD", "BRIGADIER", "SENATOR", "DAME", "JUSTICE", "UK" - `personalInfo.preferredLanguage` (string) Language preferred by user. Example: "en-US" - `personalInfo.preferredPronoun` (string) Pronoun preferred by user. Enum: "SHE_HER_HERS", "HE_HIM_HIS", "THEY_THEM_THEIRS" - `personalInfo.travelerName` (object) A name of user that does not contain special characters. - `personalInfo.emergencyContact` (object) Emergency contact information. - `personalInfo.emergencyContact.name` (string, required) Full name of contact. Example: "John Smith" - `personalInfo.emergencyContact.email` (string) Email address of contact. Example: "emergency-contact@email.com" - `personalInfo.emergencyContact.relation` (string) Relation of contact to user. Enum: "RELATION_UNKNOWN", "SPOUSE", "PARENT", "SIBLING", "CHILD", "FRIEND", "RELATIVE", "COLLEAGUE", "OTHER" - `personalInfo.emergencyContact.phoneNumbers` (array, required) Phone numbers of contact. - `personalInfo.emergencyContact.designation` (string) Job title of contact. Example: "MANAGER" - `personalInfo.emergencyContactInfo` (object) Emergency contact information. - `personalInfo.emergencyContactInfo.address` (object) Postal Address Details - `personalInfo.emergencyContactInfo.designation` (string) Example: "MANAGER" - `personalInfo.emergencyContactInfo.phoneNumber` (object) Properly formatted phone number. - `personalInfo.emergencyContactInfo.userOrgId` (object) User and user's organization information. - `personalInfo.emergencyContactInfo.userOrgId.organizationId` (object, required) Organization id for traveler. - `personalInfo.emergencyContactInfo.userOrgId.userId` (object, required) User identifier - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo` (object) TMC related basic information. - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc` (object, required) Contracting TMC is the TMC the user/organization contracted. - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.id` (object, required) Company ID - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.name` (string) - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo` (object) Company logo - `personalInfo.emergencyContactInfo.userOrgId.tmcBasicInfo.bookingTmc` (object, required) Booking TMC is the TMC used for the bookings for the user/organization. - `personalInfo.emergencyContactInfo.userOrgId.organizationAgencyId` (object) Agency id for the organization. - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo` (object) TMC config information. - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.id` (object, required) TMC id. - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.primaryServiceProviderTmc` (object, required) Primary service provider TMC for the TMC. - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.primaryServiceProviderTmc.tmcId` (object, required) Id of the service provider TMC. - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs` (array) Secondary service provider TMCs for the TMC. - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs.supplier` (string, required) Supplier for which this service provider should be used. Enum: "SABRE", "AMADEUS", "TRAVEL_FUSION", "FARELOGIX_NDC", "ATPCO_NDC", "TRAINLINE", "AVIA", "QBR", "BCD", "QANTAS_HOTELS", "SOUTHWEST", "EXPEDIA", "HOTEL_HUB", "NDC", "MARRIOTT", "CLEARTRIP", "KYTE", "GROUNDSPAN", "SABRE_NDC", "BOOKING_COM", "CARTRAWLER", "PREMIER_INN", "TRAVELODGE" - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs.travelType` (string, required) Travel type for which this service provider should be used. Enum: "AIR", "HOTEL", "CAR", "RAIL", "LIMO", "MISC", "ALL" - `personalInfo.emergencyContactInfo.userOrgId.tmcInfo.partnerTmcId` (object) Useful to identify the clients onboarded by a PARTNER_TMC - `businessInfo` (object) User business information. - `businessInfo.departmentRef` (object) Reference of an entity - `businessInfo.employeeId` (string) Unique employee id. Can use email if a company don't use employee ids. Example: "101" - `businessInfo.gradeRef` (object) Reference of an entity - `businessInfo.legalEntityRef` (object, required) Reference of an entity - `businessInfo.managerRef` (object) Reference of an entity - `businessInfo.officeRef` (object) Reference of an entity - `businessInfo.organizationRef` (object, required) Reference of an entity - `businessInfo.costCenterRef` (object) Reference of an entity - `businessInfo.countryCode` (string) alpha-2 or alpha-3 ISO country code. Example: "USA" - `businessInfo.workerType` (string) The type of worker. Enum: "EMPLOYEE", "CONTINGENT", "SEASONAL", "INTERN", "GUEST" - `businessInfo.accountingCode` (string) Code used for accounting. Example: "123" - `businessInfo.companySpecifiedAttributes` (array) - `businessInfo.companySpecifiedAttributes.fixedColumnName` (string, required) Example: "contingentType" - `businessInfo.companySpecifiedAttributes.value` (string, required) Example: "FSTV" - `businessInfo.designatedApproverRefs` (array) A list of references for designated approvers. - `businessInfo.authorizerEmail` (string) Email address to be used as approval authorizer, when a manager is not present. Example: "example@email.com" - `persona` (string) Persona of the user Enum: "UNKNOWN_PERSONA", "EMPLOYEE", "GUEST", "PERSONAL", "RELATIVE", "ADHOC" - `isActive` (boolean) Indicates if traveler is active. Example: true - `tier` (string) Tier of User. Note: In default UI, BASIC is displayed as Standard, and SEAT1A is displayed as VIP. Enum: "BASIC", "SEAT1A" - `travelPreferences` (object) User's travel preferences - `travelPreferences.preferences` (object) Travel preferences. - `travelPreferences.preferences.airPref` (object) Travel preferences related to air travel. - `travelPreferences.preferences.airPref.airlinePrefs` (array) - `travelPreferences.preferences.airPref.airlinePrefs.airlines` (array) Example: ["Indigo"] - `travelPreferences.preferences.airPref.airlinePrefs.flightType` (string) Enum: "UNKNOWN_FLIGHT_TYPE", "DOMESTIC", "INTERNATIONAL", "ALL" - `travelPreferences.preferences.airPref.alliancePref` (object) Alliance preferences. - `travelPreferences.preferences.airPref.alliancePref.alliances` (array, required) Enum: "UNKNOWN_ALLIANCE", "STAR_ALLIANCE", "ONEWORLD", "SKYTEAM", "VANILLA_ALLIANCE", "U_FLY_ALLIANCE", "VALUE_ALLIANCE" - `travelPreferences.preferences.airPref.farePref` (object) Fare preferences. - `travelPreferences.preferences.airPref.farePref.fareTypes` (array, required) Enum: "UNKNOWN_TYPE", "CHANGEABLE", "REFUNDABLE" - `travelPreferences.preferences.airPref.homeAirport` (string) Example: "NEW YORK" - `travelPreferences.preferences.airPref.mealPref` (object) Meal preferences. - `travelPreferences.preferences.airPref.mealPref.exclMealPrefs` (array) Enum: "UNKNOWN_MEAL", "AVML", "BBML", "BLML", "CHML", "DBML", "FPML", "GFML", "HFML", "HNML", "KSML", "LCML", "LFML", "LPML", "LSML", "MOML", "NLML", "NSML", "ORML", "PFML", "RVML", "SFML", "SPML", "VGML", "VJML", "VLML", "VOML" - `travelPreferences.preferences.airPref.mealPref.inclMealPrefs` (array) Enum: "UNKNOWN_MEAL", "AVML", "BBML", "BLML", "CHML", "DBML", "FPML", "GFML", "HFML", "HNML", "KSML", "LCML", "LFML", "LPML", "LSML", "MOML", "NLML", "NSML", "ORML", "PFML", "RVML", "SFML", "SPML", "VGML", "VJML", "VLML", "VOML" - `travelPreferences.preferences.airPref.mealPref.specialMealDescription` (string) Example: "Veg only meal" - `travelPreferences.preferences.airPref.numStopPref` (object) Preferred number of stops. - `travelPreferences.preferences.airPref.numStopPref.numOfStops` (integer, required) Example: 34 - `travelPreferences.preferences.airPref.seatAmenityPref` (object) Seat amenity preference. - `travelPreferences.preferences.airPref.seatAmenityPref.seatAmenityTypes` (array, required) Enum: "UNKNOWN_AIR_SEAT_AMENITY_TYPE", "FLAT_BED", "WIFI", "IN_SEAT_POWER" - `travelPreferences.preferences.airPref.seatLocationPrefs` (array) - `travelPreferences.preferences.airPref.seatLocationPrefs.cabins` (array) Enum: "UNKNOWN_CABIN", "ECONOMY", "PREMIUM_ECONOMY", "BUSINESS", "FIRST" - `travelPreferences.preferences.airPref.seatLocationPrefs.isBulkHeadPref` (boolean) - `travelPreferences.preferences.airPref.seatLocationPrefs.maxFlightDurationInHours` (integer) Example: 3 - `travelPreferences.preferences.airPref.seatLocationPrefs.position` (string) Enum: "UNKNOWN_POSITION", "AISLE", "WINDOW", "AISLE_OR_WINDOW" - `travelPreferences.preferences.airPref.preferredAirports` (array) A list of user preferred airports. - `travelPreferences.preferences.airPref.preferredAirports.airportName` (string) Airport name. Example: "San Francisco International Airport" - `travelPreferences.preferences.airPref.preferredAirports.airportCode` (string, required) IATA airport code. Example: "SFO" - `travelPreferences.preferences.airPref.preferredAirports.label` (string, required) The label of preferred airport or rail station. Enum: "HOME", "WORK", "OTHER" - `travelPreferences.preferences.preferredCurrency` (string) Example: "USD" - `travelPreferences.preferences.railCards` (array) - `travelPreferences.preferences.railCards.cardNumber` (string) Number of card - `travelPreferences.preferences.railCards.expiryDate` (object) Expiry date of the Rail Card. - `travelPreferences.preferences.railCards.name` (string, required) Name of the Rail Card. Example: "Veterans Railcard" - `travelPreferences.preferences.railCards.spotnanaCode` (string, required) Unique Spotnana code/identifier for Rail Card. Example: "VET" - `travelPreferences.preferences.railCards.vendor` (string, required) Vendor Name. Example: "ATOC" - `travelPreferences.preferences.railPref` (object) Travel preferences related to rail station. - `travelPreferences.preferences.railPref.preferredRailStations` (array) A list of user preferred rail stations. - `travelPreferences.preferences.railPref.preferredRailStations.stationName` (string) Rail station name. Example: "Chicago Union Station" - `travelPreferences.preferences.railPref.preferredRailStations.stationCode` (string, required) Rail station code. Example: "CHI" - `travelPreferences.preferences.railPref.preferredRailStations.cityName` (string) Name of city where the rail station is located. Example: "Chicago" - `travelPreferences.preferences.railPref.preferredRailStations.countryCode` (string) Alpha-2 country code where the rail station is located. - `travelPreferences.preferences.railPref.seatPreference` (object) Preference about seat of rail. - `travelPreferences.preferences.railPref.seatPreference.hasAccessibility` (boolean) Whether or not requires assistance for disability. - `travelPreferences.preferences.railPref.seatPreference.seatTypes` (array) Enum: "SLEEPER_BED", "NORMAL", "TABLE_SEAT" - `travelPreferences.preferences.railPref.seatPreference.seatLocations` (array) Enum: "AISLE", "WINDOW", "SOLO" - `travelPreferences.preferences.railPref.seatPreference.deckLevels` (array) Enum: "UPPER_DECK", "LOWER_DECK" - `travelPreferences.preferences.railPref.seatPreference.seatDirections` (array) Enum: "FORWARD", "BACKWARD" - `travelPreferences.preferences.railPref.travelClasses` (array) A list of class of service for rail. Enum: "FIRST", "STANDARD", "BUSINESS", "SLEEPER", "STANDARD_PREMIUM", "BUSINESS_PREMIUM", "COACH", "ROOM", "EXECUTIVE" - `travelPreferences.preferences.railPref.coachPreferences` (array) A list of coach preference for rail. Enum: "SMOKING", "NON_SMOKING", "PETS_ALLOWED", "RESTAURANT", "QUIET" - `travelPreferences.preferences.railPref.conditionalRates` (array) A list of conditional rates for rail. Enum: "MILITARY", "AAA", "GOVERNMENT" - `travelPreferences.preferences.carPref` (object) Travel preferences related to car. - `travelPreferences.preferences.carPref.vendors` (array) A list of car vendors. - `travelPreferences.preferences.carPref.vendors.code` (string, required) Vendor code Example: "ZE" - `travelPreferences.preferences.carPref.vendors.name` (string, required) Vendor name Example: "HERTZ" - `travelPreferences.preferences.carPref.vendors.isPresentInPreferredVendors` (boolean) Whether the car vendor is present in preferred vendor list. This is an optional field which gets populated only in the preferred vendor autocomplete API. Example: true - `travelPreferences.preferences.carPref.carTypes` (array) A list of types of car. Enum: "OTHER", "MINI", "ECONOMY", "COMPACT", "MID_SIZE", "STANDARD", "FULL_SIZE", "PREMIUM", "LUXURY", "CONVERTIBLE", "MINIVAN", "SUV", "VAN", "PICKUP", "SPORTS", "SPECIAL", "RECREATIONAL_VEHICLE", "WAGON" - `travelPreferences.preferences.carPref.engineTypes` (array) A list of types of engine. Enum: "UNKNOWN_ENGINE", "PETROL", "DIESEL", "ELECTRIC", "CNG", "HYBRID", "HYDROGEN", "MULTI_FUEL", "ETHANOL" - `travelPreferences.preferences.carPref.transmissionTypes` (array) A list of types of transmission. Enum: "MANUAL", "AUTOMATIC" - `travelPreferences.preferences.hotelPref` (object) Travel preferences related to hotel. - `travelPreferences.preferences.hotelPref.hotelParentChains` (array) A list of hotel parent chains. - `travelPreferences.preferences.hotelPref.hotelParentChains.chainCode` (string) The code of hotel chain. Example: "EM" - `travelPreferences.preferences.hotelPref.hotelParentChains.chainName` (string) The name of hotel chain. Example: "Mariott" - `travelPreferences.preferences.hotelPref.hotelBrands` (array) A list of hotel brands. - `travelPreferences.preferences.hotelPref.hotelBrands.brandCode` (string) The code of hotel brand. Example: "HY" - `travelPreferences.preferences.hotelPref.hotelBrands.brandName` (string) The name of hotel brand. Example: "Global Hytt Corp." - `travelPreferences.preferences.hotelPref.hotelAmenityTypes` (array) A list of HotelAmenities. Enum: "PARKING", "FREE_PARKING", "FREE_BREAKFAST", "POOL", "WIFI", "FITNESS_CENTER", "FAMILY_FRIENDLY", "RECEPTION", "SPA", "RESTAURANT", "BAR", "TRANSPORTATION", "PET_FRIENDLY", "BUSINESS_CENTER", "AIR_CONDITIONING", "BEACH_ACCESS", "LAUNDRY_SERVICES", "ROOM_SERVICE", "ACCESSIBLE" - `travelPreferences.preferences.hotelPref.roomPreference` (object) Room options and stay preference. - `travelPreferences.preferences.hotelPref.roomPreference.isMobilityAccessible` (boolean) Whether or not mobility accessible room, tub. - `travelPreferences.preferences.hotelPref.roomPreference.bedCount` (string) The number of bed in the room. Enum: "ONE_BED", "TWO_BEDS" - `travelPreferences.preferences.hotelPref.roomPreference.roomType` (string) Single selection of type of room. Enum: "SMOKING", "NON_SMOKING" - `travelPreferences.preferences.hotelPref.roomPreference.mostImportantFact` (string) Single selection of the most import fact. Enum: "ROOM_TYPE", "BED_COUNT", "ROOM_LOCATION" - `travelPreferences.preferences.hotelPref.roomPreference.roomLocation` (string) Location of the hotel room Enum: "HIGH_FLOOR", "LOW_FLOOR", "NEAR_ELEVATOR" - `travelPreferences.preferences.hotelPref.roomPreference.pillowType` (string) The type of pillow in hotel room. Enum: "FOAM", "EXTRA_FOAM", "EXTRA_FEATHER" - `travelPreferences.preferences.hotelPref.roomPreference.roomAmenityPrefs` (array) Enum: "FEATHER_FREE_ROOM", "EXTRA_TOWELS", "REFRIGERATOR" - `membershipInfo` (object) User's loyalty program membership details. - `membershipInfo.membershipInfos` (array) - `membershipInfo.membershipInfos.appliedTo` (array) Example: ["TAJ"] - `membershipInfo.membershipInfos.issuedBy` (string, required) Example: "firstIssuedBy" - `membershipInfo.membershipInfos.linked` (boolean) Indicates if this loyalty account is linked to the external provider. Only applicable for certain loyalty types. - `membershipInfo.isLoyaltyBlocked` (boolean) Whether user is blocked to use loyalty programs. This is a read only field. - `notificationPreferences` (object) Notification preferences of a user for different notification types. - `notificationPreferences.preferences` (array) - `notificationPreferences.preferences.notificationType` (string) Enum: "FLIGHT_NOTIFICATION", "BOOKING_NOTIFICATION" - `notificationPreferences.preferences.emailPreference` (object) Email preference for notification type. - `notificationPreferences.preferences.emailPreference.enabled` (boolean) Whether the email preference is enabled or not. - `notificationPreferences.preferences.emailPreference.ccEmails` (array) List of cc emails for the email preference. - `travelArrangers` (object) Travel arrangers for a user. - `travelArrangers.travelArrangers` (array, required) - `travelArrangers.travelArrangers.status` (string) Status of the traveler-arranger assignment. Enum: "PENDING", "ACCEPTED", "DENIED" - `adhocUserInfo` (object) Basic information related to ad-hoc traveler profile. - `adhocUserInfo.profileOwner` (object, required) Basic information about the owner of the ad-hoc user. - `adhocUserInfo.isSaved` (boolean) A boolean flag to show if ad-hoc traveler is visible in search. While updating the user if client tries to update this field, it will throw exception. - `externalId` (string) The partner-assigned user identifier. - `contractingTmcRef` (object) Contracting TMC for the user. - `bookingTmcRef` (object) Booking TMC for the user. - `relativeOf` (object) Link to primary traveler - `relativeOf.userRef` (object) Reference of an entity - `relativeOf.relation` (string) Enum: "SPOUSE", "CHILD", "FRIEND", "PARENT", "OTHER" ## Response 401 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 403 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 404 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error.