Documentation

sale.order.delete

Scope: catalog Permissions to execute: for all

sale.order.delete(id)

The method daletes order and binded entities.

When successful, returns true in response body.

Parameters

ParameterType Description
Idstring Number of order.


Examples

BX24.callMethod(
    'sale.order.delete', 
    { id: id }, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2024