catalog.product.service.update
Scope: catalog Permissions: all
catalog.product.service.update(id, fields)
Method for updating service fields.
Parameters
Parameter | Type | Description |
---|---|---|
id | integer | Service ID. |
fields | object | Fields matching to the available list of fields getFieldsByFilter . |
Examples
BX24.callMethod( 'catalog.product.service.update', { id : 44, fields: { active: 'N', iblockId: 15, } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024