v1

latestSwagger 2.02026-07-179553242.0 KB
User

Save user preferences.

post/user/preferences

Response

Request was successful

idinteger
firstnamestring
lastnamestring
usernamestring required
accountNamestring
isUserboolean required
emailstring
dateOfBirthstring
phonestring
createdstring date-time
lastUpdatedstring date-time
TFAEnabledstring
affiliateIDstring
countrystring
geoipCountrystring
geoipRegionstring
firstTradeTimestampstring date-time
firstDepositTimestampstring date-time
typstring

Example response

{
  "geoipRegion": "geoipRegion",
  "country": "country",
  "firstname": "firstname",
  "preferences": {
    "isWalletZeroBalanceHidden": true,
    "favourites": [
      "favourites",
      "favourites"
    ],
    "disablePush": [
      "disablePush",
      "disablePush"
    ],
    "alertOnLiquidations": true,
    "optionsBeta": true,
    "hideConfirmDialogs": [
      "hideConfirmDialogs",
      "hideConfirmDialogs"
    ],
    "marginPnlRow": "marginPnlRow",
    "isSensitiveInfoVisible": true,
    "features": [
      "features",
      "features"
    ],
    "spacingPreference": "spacingPreference",
    "colorTheme": "colorTheme",
    "favouritesOrdered": [
      "favouritesOrdered",
      "favouritesOrdered"
    ],
    "orderBookBinning": "{}",
    "favouritesAssets": [
      "favouritesAssets",
      "favouritesAssets"
    ],
    "hidePnlInGuilds": false,
    "msgsSeen": [
      "msgsSeen",
      "msgsSeen"
    ],
    "orderControlsPlusMinus": true,
    "showChartBottomToolbar": true,
    "hasSetTradingCurrencies": true,
    "tickerPinned": true,
    "hideFromLeaderboard": false,
    "favouriteBots": [
      "favouriteBots",
      "favouriteBots"
    ],
    "orderBookType": "orderBookType",
    "showLocaleNumbers": true,
    "chatChannelID": 6.027456183070403,
    "notifications": "{}",
    "marginPnlRowKind": "marginPnlRowKind",
    "hideNotifications": [
      "hideNotifications",
      "hideNotifications"
    ],
    "localeSetTime": 1.4658129805029452,
    "tickerGroup": "tickerGroup",
    "platformLayout": "platformLayout",
    "animationsEnabled": true,
    "locale": "en-US",
    "disableEmails": [
      "disableEmails",
      "disableEmails"
    ],
    "sounds": [
      "sounds",
      "sounds"
    ],
    "hidePhoneConfirm": false,
    "mobileLocale": "mobileLocale",
    "hideRoiInGuilds": false,
    "currency": "currency",
    "hideNameFromLeaderboard": true,
    "tradeLayout": "tradeLayout",
    "strictTimeout": true,
    "debug": true,
    "strictIPCheck": false,
    "hideConnectionModal": true,
    "equivalentCurrency": "equivalentCurrency",
    "displayCorpEnrollUpsell": true,
    "userColor": "userColor",
    "announcementsLastSeen": "2000-01-23T04:56:07.000+00:00",
    "orderClearImmediate": false,
    "selectedFiatCurrency": "selectedFiatCurrency"
  },
  "accountName": "accountName",
  "created": "2000-01-23T04:56:07.000+00:00",
  "dateOfBirth": "dateOfBirth",
  "typ": "typ",
  "firstTradeTimestamp": "2000-01-23T04:56:07.000+00:00",
  "affiliateID": "affiliateID",
  "lastname": "lastname",
  "geoipCountry": "geoipCountry",
  "firstDepositTimestamp": "2000-01-23T04:56:07.000+00:00",
  "lastUpdated": "2000-01-23T04:56:07.000+00:00",
  "phone": "phone",
  "TFAEnabled": "TFAEnabled",
  "id": 0,
  "isUser": true,
  "email": "email",
  "username": "username"
}