Documentation

sale.basketitem.delete

sale.basketitem.delete(basketId)

The method deletes shopping cart item.

When successful, returns true in response body.

Parameters

ParameterType Description
basketIdstring Number of shopping cart item.


Examples

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


© «Bitrix24», 2001-2022
Up