Class: SetUserValues

SetUserValues(userId, values, optional)

Set/update (some) property values of a given user. The properties (columns) must be previously created by [Add user property](https://docs.recombee.com/api.html#add-user-property).

Constructor

new SetUserValues(userId, values, optional)

Construct the request
Parameters:
Name Type Description
userId string ID of the user which will be modified.
values Object The values for the individual properties. { country: 'US', sex: 'F' }
optional Object Optional parameters given as an object with structure name of the parameter: value - Allowed parameters: - *cascadeCreate* - Type: boolean - Description: Sets whether the user should be created if not present in the database.
Source: