Documentation

catalog.catalog.list

Scope: catalog Permissions: all

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

The method gets list of commercial catalogs by filter.

When successful, returns list of commercial catalogs in the response body.

Parameters

Retrieved page number. Works for https queries
PrameterType 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


Examples

Example for JS

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

Example for https query:

https://your_account/rest/catalog.price.list?auth=_authentication_key_&start=50
© «Bitrix24», 2001-2024