Documentation

sale.basketItem.list

sale.basketItem.list(select, filter, order, navigation)

The method gets list of shopping cart items.

When successful, returns list of items in response body.

Parameters

ParameterType Description
selectobject Fields, corresponding to available list of fields.
filterobject Fields, corresponding to available list of fields.
orderobject Fields, corresponding to available list of fields.
navigationstring Number of display page.


Examples

BX24.callMethod(
    'sale.basketItem.list', 
    { select:{
		id,
		name
	  } ,
	  filter:{
		quantity: 2
	  },
	  order:{
		id: ASC
	  },
	  navigation: 1
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2024