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: