catalog.product.download
catalog.product.download(fileld, productId, fieldName)
The method downloads files of a commercial catalog product using passed parameters.
When successful, returns true
in the response body.
Parameters
Parameter | Type | Description |
---|---|---|
fileId | string | Registered file number. |
productId | string | Commercial catalog product number. |
fieldName | string | Field name (Property or field of information block element) that stores file. |
Examples
BX24.callMethod( 'catalog.product.download', { fileId: 79 productId: 8, fieIdName: 'property98' }, function(result) { if (result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024