catalog.productPropertySection.set
Scope: catalog Permissions to execute: for all
catalog.productPropertySection.set(propertyId, fields)
Method sets (creates or updates) product or SKU property sections.
Parameters
Parameter | Type | Description |
---|---|---|
propertyId | integer | Identifier for product property or SKU. |
fields | object | Array, containing the following fields:
|
Example
BX24.callMethod( 'catalog.productPropertySection.set', { propertyId: 128, fields: { displayType: "F", displayExpanded: "Y", filterHint: "Product dimensions" } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024