Documentation

sale.basketproperties.update

sale.basketproperties.update(id, fields)

The method updates property set element for shopping cart table section.

When successful, returns shopping cart property resource in response body.

Parameters

ParameterТип Description
idstring Number of element of property set for shopping cart table section.
fieldsobject Fields corresponding to the available list of fields.


Examples

BX24.callMethod(
    'sale.basketproperties.update', 
    {
	  id: 101,
	  fields: {
		  value: red,
		  name: color
		  code: COLOR
		}
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2022
Up