Documentation

sale.basketproperties.add

sale.basketproperties.add(fields.basketproperties)

The method adds an element of property set for shopping cart table section.

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

Parameters

ParameterType Description
fields.basketpropertiesobject Fields, corresponding to available list of fields.


Examples

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


© «Bitrix24», 2001-2022
Up