Documentation

catalog.productImage.list

Scope: catalog Permissions to execute: for all

catalog.productImage.list(productId, select)

Method gets list of images for specific product or SKU.

Parameters

ParameterType Description
productIdstring Product or SKU ID. Required parameter.
selectobject List of fields to show in response.
startstring Printed page number. Works for https queries.


Examples

For JS

BX24.callMethod(
	'catalog.productImage.list',
	{
		productId: 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.productImage.list?auth=_auth_key_&start=50

© «Bitrix24», 2001-2024
Up