Documentation

catalog.price.list

Scope: catalog Permissions: all

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

The method gets list of product prices by filter.

When operation is successful, returns list of prices in the response body.

Parameters

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


Examples

Example for JS

BX24.callMethod(
	'catalog.price.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=_auth_key_&start=50
© «Bitrix24», 2001-2024