Skip to main content
Skip to main content

updatePriceListRules - Pricing Module Reference

This documentation provides a reference to the updatePriceListRules method. This belongs to the Pricing Module.

This method is used to update price list rules.

Example

const priceListRules =
await pricingModuleService.updatePriceListRules([
{
id: "plrule_123",
rule_type_id: "rul-typ_123",
},
])

Parameters

The attributes to update for each price list rule. The price list rule is identified by the id property.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<PriceListRuleDTO[]>Required
The updated price list rules.
Was this section helpful?