catalog.priceTypeLang.update
catalog.priceTypeLang.update(id, fields)
Method updates translation for price type name.
Parameters
Parameter | Type | Description |
---|---|---|
id | integer | Translation ID for price type name. |
fields | object | Fields, matching to available list of fields. |
Examples
BX24.callMethod( 'catalog.priceTypeLang.update', { id: 537, fields: { catalogGroupId: 14, lang: "en", name: "Wholesale price for partners" } }, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2023