Documentation

catalog.product.delete

catalog.product.delete(id)

The method deletes commercial catalog product.

When successful, returns true in the response body.

Parameters

ParameterType Description
idstring Commercial catalog product number.

Examples

BX24.callMethod(
    'catalog.product.delete', 
    {
      id: 14
    }, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});
© «Bitrix24», 2001-2024