Documentation

sale.basketitem.get

sale.basketitem.get(basketId)

The method is used to access fields of shopping cart item and binded entities.

When successful, returns shopping cart resource in response body.

Parameters

ParameterType Description
basketIdstring Number of a shopping cart item.


Examples

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


© «Bitrix24», 2001-2024