catalog.measure.update
Scope: catalog Permissions: all
catalog.measure.update(id, fields)
Method for updating unit of measurement fields.
Parameters
Parameter | Type | Description |
---|---|---|
id | integer | Unit of measurement ID. |
fields | object | Fields, matching to available list of fields. |
Examples
BX24.callMethod( 'catalog.measure.update', { id: 6, fields: { measureTitle: "Kg", code: "kg" } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024