Class: SetItemValues

SetItemValues(itemId, values, optional)

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

Constructor

new SetItemValues(itemId, values, optional)

Construct the request
Parameters:
Name Type Description
itemId string ID of the item which will be modified.
values Object The values for the individual properties. { product_description: '4K TV with 3D feature', categories: ['Electronics', 'Televisions'], price_usd: 342, in_stock_from: '2016-11-16T08:00Z' }
optional Object Optional parameters given as an object with structure name of the parameter: value - Allowed parameters: - *cascadeCreate* - Type: boolean - Description: Sets whether the item should be created if not present in the database.
Source: