sale.propertyVariant.update
sale.propertyVariant.update(id, fields)
The method updates fields of property variant.
When successful, returns property variant resource in response body.
Parameters
Parameter | Type | Description |
---|---|---|
id | string | Number of property variant. |
fields | object | Fields, corresponding to available list of fields. |
Examples
BX24.callMethod( 'sale.propertyVariant.update', { id: 75, fields: { name: 'Size', value: 'S', } } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2024