Documentation

sale.cashbox.handler.delete

Scope: catalog Permissions to execute: for all

sale.cashbox.handler.delete(id)

Method deletes cash register REST handler.

When cash registers are bound to to handler, this handler won't be deleted (cash registers must be deleted first).

Parameters

Parameter Description Available from version
ID Required. Handler ID.


Example

BX.rest.callMethod(
    "sale.cashbox.handler.delete",
    {
        "ID": 1,
    },
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
            console.dir(result.data());
    }
);


© «Bitrix24», 2001-2024