Skip to content

Get user travel preferences

Request

Security
Bearer
Path
userIdstring, (uuid)required

Identifier for user.

Example:4974a66b-7493-4f41-908c-58ba81093947
curl -i -X GET \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/travel-preferences \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
preferencesobject(TravelPref)

Travel preferences.

Response
{ "preferences": { "airPref": { … }, "preferredCurrency": "USD", "railCards": [ … ], "railPref": { … }, "carPref": { … }, "hotelPref": { … } } }