Documentation

catalog.storeproduct.list

Scope: catalog Permissions to execute: for all

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

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.
startstring Printed page number. Works for https queries.


Examples

For JS

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());
		result.next();
	}
);

For HTTPS

https://your_account/rest/catalog.storeproduct.list?auth=_auth_key_&start=50

© «Bitrix24», 2001-2024
Up