Documentation

catalog.store.list

Scope: catalog Permissions to execute: for all

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

The method gets list of warehouses by filter.

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

Parameters

Note: parameter select can be both object and an array: select: {0: 'id'} or select: ['id'].

ParameterType Description
selectobject Fields, corresponding to the available list of fields.
filterobject Fields, corresponding to the available list of fields.
orderobject Fields, corresponding to the available list of fields.
startstring Printed page number. Works for https queries.


Examples

For JS

BX24.callMethod(
	'catalog.store.list',
	{
		select:['id', 'acrive'],
		filter:{
			modifiedBy: 1
		},
		order:{
			id: ASC
		},
		start: 1
	},
	function(result)
	{
		if(result.error())
			console.error(result.error().ex);
		else
			console.log(result.data());
		result.next();
	}
);

For HTTPS

https://your_account/rest/catalog.store.list?auth=auth_key&start=50

© «Bitrix24», 2001-2024