update_user

Update user information for the given user. A user can edit anything about himself, and (first_name, last_name, email) for users whom he is acquainted with but haven’t logged in yet.

PUT https://secure.splitwise.com/api/v3.0/update_user/:id

Parameters:

  1. User hash, containing one or more of the following:
    1. first_name
    2. last_name
    3. email
    4. password
    5. locale
    6. date_format
    7. default_currency
    8. default_group_id
    9. notification_settings
      1. added_as_friend
      2. added_to_group
      3. expense_added
      4. expense_updated
      5. bills
      6. payments
      7. monthly_summary
      8. announcements

Note: a user can edit anything about himself, and (first_name, last_name, email) for users who he has a relationship with but who haven’t logged in yet.

Return value:

  1. Updated user info for user (detailed if current_user, standard otherwise)