Documentation

catalog.productPropertyFeature.update

catalog.productPropertyFeature.update(id, fields)

Method for updating product or SKU property parameter.

Parameters

ParameterType Description
idinteger Identifier for product or SKU property parameter.
fieldsobject Fields, matching to available list of fields.


Examples

BX24.callMethod(
    'catalog.productPropertyFeature.update', 
    {
	  id: 144,
	  fields: {	      
		propertyId: 128,
		featureId: "IN_BASKET",
		moduleId: "catalog",
		isEnabled: "Y"
	  }
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});

© «Bitrix24», 2001-2024