catalog.productProperty.update
Scope: catalog Permissions to execute: for all
catalog.productProperty.update(id, fields)
Method updates fields for product or SKU property.
Parameters
Parameter | Тип | Description |
---|---|---|
id | string | Product or SKU property ID. |
fields | object | Fields, matching to available list of fields. |
Examples
BX24.callMethod( 'catalog.productProperty.update', { id: 128, fields: { isRequired: "Y", iblockId: 16, name: "Size", propertyType: "L" } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); } );
© «Bitrix24», 2001-2024