Documentation

catalog.product.list

catalog.product.list(select, filter, order, navigation)

The method gets list of commercial catalog products by filter.

When successful, returns list of products in the response body.

Parameters

ParameterType Description
selectobject Fields, corresponding to the available list of getFieldsByFilter.
filterobject Fields, corresponding to the available list of getFieldsByFilter.
orderobject Fields, corresponding to the available list of getFieldsByFilter.
navigationstring Retrieved page number.


Examples

BX24.callMethod(
    'catalog.product.list', 
    { select:{
		id		
	  } ,
	  filter:{
		'>property109':{
			value: '2019-03-01T16:10:00+02:00'
		}
	  },
	  order:{
		id: ASC
	  },
	  navigation: 1
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});
© «Bitrix24», 2001-2023
Up