API reference
/User management
/- Get user
Create user
Query user
List users
Delete user
Update user
Patch user
Get user business info
Update user business info
Get user personal info
Update user personal info
Get user travel preferences
Update user travel preferences
Get user membership info
Update user membership info
Get Marriott Bonvoy account info
Update user roles
Get user roles
Get notification preferences
Update notification preferences
Get user travel arrangers
Approve or deny travel arrangers
Get travelers managed by the user.
Add managed travelers
Update managed travelers
Remove managed travelers
Get user's external ID
Update user's external ID
Activate a user
Add favorite
List favorites
Remove favorite
Get user policies
Get user support config
Get user
This endpoint gets user details for user ID.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/users/{userId}
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/usersapi/v2/users/{userId}
curl -i -X GET \
'https://api-ext-sboxmeta.partners.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947?includeInactive=true' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
Persona of the user
Enum:"UNKNOWN_PERSONA""EMPLOYEE""GUEST""PERSONAL""RELATIVE""ADHOC"
Example:"EMPLOYEE"
Tier of User. Note: In default UI, BASIC is displayed as Standard, and SEAT1A is displayed as VIP. Display names for other tiers are driven by the company tier configuration.
Default:"BASIC"
Enum:"BASIC""SEAT1A""TIER_2""TIER_3""TIER_4""TIER_5""TIER_6""TIER_7""TIER_8""TIER_9"
Example:"SEAT1A"
Notification preferences of a user for different notification types.
Contracting TMC for the user.
Booking TMC for the user.
Stealth type.
Enum:"STEALTH_TYPE_1""STEALTH_TYPE_2""STEALTH_TYPE_3"
Example:"STEALTH_TYPE_1"
Response
{ "id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3", "personalInfo": { "addresses": [ … ], "dob": { … }, "email": "example@email.com", "emergencyContactInfo": { … }, "gender": "FEMALE", "identityDocs": [ … ], "name": { … }, "phoneNumbers": [ … ], "profilePicture": { … }, "nationality": "Indian", "title": "MR", "preferredLanguage": "en-US", "preferredPronoun": "SHE_HER_HERS", "travelerName": { … }, "emergencyContact": { … } }, "businessInfo": { "departmentRef": { … }, "designation": "MANAGER", "email": "user@business.com", "employeeId": "101", "gradeRef": { … }, "legalEntityRef": { … }, "managerRef": { … }, "officeRef": { … }, "organizationRef": { … }, "phoneNumbers": [ … ], "costCenterRef": { … }, "countryCode": "USA", "workerType": "EMPLOYEE", "accountingCode": "123", "companySpecifiedAttributes": [ … ], "designatedApproverRefs": [ … ], "authorizerEmail": "example@email.com" }, "persona": "EMPLOYEE", "isActive": true, "tier": "SEAT1A", "stealthType": "STEALTH_TYPE_1", "stealthMode": { "stealthType": "STEALTH_TYPE_1", "label": "string" }, "relativeOf": { "userRef": { … }, "relation": "SPOUSE" }, "travelPreferences": { "preferences": { … } }, "membershipInfo": { "membershipInfos": [ … ], "isLoyaltyBlocked": false }, "notificationPreferences": { "preferences": [ … ] }, "travelArrangers": { "travelArrangers": [ … ] }, "adhocUserInfo": { "profileOwner": { … }, "isSaved": false }, "externalId": "string", "contractingTmcRef": { "id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3", "name": "Name" }, "bookingTmcRef": { "id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3", "name": "Name" } }