Documentation

catalog.storeproduct.list

catalog.storeproduct.list(select, filter, order)

Method gets remaining warehouse stock by filter.

Returns list with remaining warehouse stock on success.

Parameters

ParameterType Description
selectobject Fields, matching available list of fields.
filterobject Fields, matching available list of fields.
orderobject Fields, matching available list of fields.


Examples

BX24.callMethod(
    'catalog.storeproduct.list', 
    { 
      select:{
		id
	  },
	  filter:{
		productId: 8
	  },
    }, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});

© «Bitrix24», 2001-2023
Up