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