Documentation

sale.cashbox.update

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-2022
Up