Update user preferences
A user should be able to update his preferences so that he could choose which markets and strategies he will receive.
The user should be logged in.
PUT https://api.tradingpartners.ai/api/v1/users/preferences
PUT users/preferences request object
Attributes
longTermStrategy - boolean
User wants to receive long term strategy.
shortTermStrategy - boolean
User wants to receive long term strategy.
cryptocurrencies - boolean
User wants to receive opportunities on cryptocurrencies
market.
forex - boolean
User wants to receive opportunities on forex
market.
indices - boolean
User wants to receive opportunities on indices
market.
commodities - boolean
User wants to receive opportunities on commodities
market.
futures - boolean
User wants to receive opportunities on futures
market.
stocks - boolean
User wants to receive opportunities on stocks
market.
etfs - boolean
User wants to receive opportunities on etfs
market.
Response
A valid update of the user preferences is answered with a 204 status code.
StatusCode: 204