Documentation

crm.item.productrow.update

Scope: catalog Permissions to execute: for all

crm.item.productrow.update({id: number, fields: {}})

Method updates a product SKU with ID, by specifying new field values from fields. When a field value is missing from fields, its value remains the same.

Parameters

Parameter Description Available from version
id Product SKU ID
fields Product SKU field values necessary to be updated

Values for some fields (priceExclusive and etc.) will be automatically recalculated, when fields that affect the calculation are changed (for example, price) during a product SKU update)

Method returns the result, similar to the called method crm.item.productrow.get for updated product SKU.



© «Bitrix24», 2001-2024