---
title: "Update current user preferences"
method: PATCH
path: "/v1/users/me/preferences"
tags: ["user"]
---

# Update current user preferences

`PATCH /v1/users/me/preferences`

## Request body

- object
  - `tokenSelectorSort` TokenSelectorSort
    - `sortColumn` 'price' | 'change24h' | 'volume' | 'openInterest', required
    - `sortDirection` 'asc' | 'desc', required
  - `favoriteTimeframes` string[]
  - `chartType` 'bars' | 'candles' | 'hollow-candles' | 'line' | 'area' | 'baseline' | 'heikin-ashi'
  - `chartInterval` '1' | '3' | '5' | '15' | '30' | '60' | '120' | '240' | '480' | '720' | '1S' | '1D' | '3D' | '1W'
  - `locale` 'en' | 'fr' | 'th' | 'ko' | 'ja' | 'zh-CN'

## Response `200`

Successful response

- UserPreferences
  - `tokenSelectorSort` TokenSelectorSortOutput, required
    - `sortColumn` 'price' | 'change24h' | 'volume' | 'openInterest', required
    - `sortDirection` 'asc' | 'desc', required
  - `favoriteTimeframes` string[], required
  - `chartType` 'bars' | 'candles' | 'hollow-candles' | 'line' | 'area' | 'baseline' | 'heikin-ashi', required
  - `chartInterval` '1' | '3' | '5' | '15' | '30' | '60' | '120' | '240' | '480' | '720' | '1S' | '1D' | '3D' | '1W', required
  - `locale` 'en' | 'fr' | 'th' | 'ko' | 'ja' | 'zh-CN', required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Resource not found
- `500` — Internal server error

## Changes

- **2026-09-02** `9d78f6feb4e7` — 2 info
  - added the new optional request property `chartInterval`
  - added the required property `chartInterval` to the response with the `200` status
- **2026-08-28** `792ac9f54322` — 2 info
  - added the new optional request property `locale`
  - added the required property `locale` to the response with the `200` status
- **2026-08-20** `dabff888da35` — 2 info
  - added the new optional request property `chartType`
  - added the required property `chartType` to the response with the `200` status

[Change history](https://skmtc.dev/legend/apis/legend-api/changes/v1/users/me/preferences/patch.md)

---

[API](https://skmtc.dev/legend/apis/legend-api.md) · [All operations](https://skmtc.dev/legend/apis/legend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/legend/legend-api/revisions/9d78f6feb4e7/schema)
