addRules - Pricing Module Reference
This documentation provides a reference to the addRules
method. This belongs to the Pricing Module.
addRules(data, sharedContext?): Promise<PriceSetDTO>
This method adds rules to a price set.
Example
Parameters
The data defining the price set to add the rules to, along with the rules to add.
Returns
The price set that the rules were added to.
addRules(data, sharedContext?): Promise<PriceSetDTO[]>
This method adds rules to multiple price sets.
Example
Parameters
The data defining the rules to add per price set.
Returns
The list of the price sets that the rules were added to.
Was this section helpful?