Update user preferences

Partial update: fields left out keep their saved values. Agents cannot set home_base; they get 403 confirmation_required with error.details[0].confirm_url for the user to confirm in the app.

put/api/users/me/preferences

Request

  • Base URL: https://goyondo.run
  • URL: https://goyondo.run/api/users/me/preferences
  • Auth: HTTP bearer

Request body

interestsstring[]
travel_style'budget' | 'comfort' | 'luxury' | 'adventure' | 'cultural' | 'relaxation'
accommodation_type'hotel' | 'hostel' | 'airbnb' | 'resort' | 'camping' | 'guesthouse' | 'apartment'
budget_range'under-500' | '500-1000' | '1000-2000' | '2000-5000' | 'over-5000'
preferred_destinationsstring[]
dietary_restrictionsstring[]
accessibility_needsstring[]

Example request

{
  "home_base": {
    "city": "Singapore",
    "airport_iata": "SIN"
  }
}

Response

Updated preferences, including home_base

Changes

No recorded changes to this operation across all 1 revision of this API.