Skip to main content
Skip to main content

createPriceListRules - Pricing Module Reference

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

This method is used to create price list rules.

Example

const priceListRules =
await pricingModuleService.createPriceListRules([
{
rule_type_id: "rul-typ_123",
price_list_id: "plist_123",
},
])

Parameters

The price list rules to create.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

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