sale.cashbox.update
Scope: catalog Permissions to execute: for all
sale.cashbox.update(id, fields)
Method updates an existing cash register.
Parameters
Parameter | Description | Available from version |
---|---|---|
ID | Required. Updated cash register ID. | |
FIELDS | Required. Updated fields values. |
Examples
BX.rest.callMethod( "sale.cashbox.update", { "ID": 1, "FIELDS": { "NAME": "New name", } }, function(result) { if(result.error()) console.error(result.error()); else console.dir(result.data()); } );
© «Bitrix24», 2001-2024