catalog.roundingRule.update
Scope: catalog Permissions to execute: for all
catalog.roundingRule.update(id, fields)
Method for updating fields for price rounding fields.
Parameters
Parameter | Type | Description |
---|---|---|
id | integer | Price rounding rule ID. |
fields | object | Fields, matching to available list of fields. |
Examples
BX24.callMethod( 'catalog.roundingRule.update', { id: 10, fields: { catalogGroupId: 14, price: 1000, roundType: 4, roundPrecision: 10, } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024