Documentation

catalog.document.unconfirm

Attention! Starting from version 22.400.0 the method has been deprecated. It's recommended to use the method catalog.document.cancel.

catalog.document.unconfirm(id)

Method cancels item processing.

Returns true in response body on success.

Parameters

ParameterType Description
idinteger Item number.

Example

BX24.callMethod(
    'catalog.document.unconfirm', 
    {
        'id': 42,
    }, 
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
            console.log(result.data());
    }
);
$result = CRest::call(
    'catalog.document.unconfirm',
    [
        'id' => 42,
    ]
);

echo '<pre>';
print_r($result);
echo '</pre>';

© «Bitrix24», 2001-2023
Up