catalog.productPropertyEnum.update
Scope: catalog Permissions to execute: for all
catalog.productPropertyEnum.update(id, fields)
Method updates list property values.
Parameters
Parameter | Type | Description |
---|---|---|
id | integer | Identifier for list property value. |
fields | object | Fields, matching to available list of fields. |
Examples
BX24.callMethod( 'catalog.productPropertyEnum.update', { id: 122, fields: { propertyId: 128, value: "Medium", def: "Y", sort: 1234, xmlId: "M" } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024