catalog.vat.update
Scope: catalog Permissions to execute: for all
catalog.vat.update(id, fields)
Method updates VAT rates.
Parameters
Parameter | Type | Description |
---|---|---|
id | integer | Vat rate ID. |
fields | object | Fields, matching to available list of fields. |
Examples
BX24.callMethod( 'catalog.vat.update', { id: 9, fields: { name: "Tax 15%", rate: 15, sort: 20, active: "Y" } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024