catalog.productImage.get
Scope: catalog Permissions to execute: for all
catalog.productImage.get(productId, id)
Method gets information about specific image in product or SKU.
Parameters
Parameter | Type | Description |
---|---|---|
productId | string | Product or SKU ID. Required parameter. |
id | integer | Image ID. Required parameter. |
Example
BX24.callMethod( 'catalog.productImage.get', { productId: 1, id: 1 }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024