catalog.priceType.add
catalog.priceType.add(fields)
Method adds price type.
Parameters
Parameter | Type | Description |
---|---|---|
fields | object | Fields, matching to available list of fields. |
Examples
BX24.callMethod( 'catalog.priceType.add', { fields: { name: "Wholesale price", base: "N", sort: 10, xmlId: "wholesale" } }, function(result) { if (result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2023