Skip to main content
Skip to main content

removeRules - Pricing Module Reference

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

This method remove rules from a price set.

Example

await pricingModuleService.removeRules([
{
id: "pset_123",
rules: ["region_id"],
},
])

Parameters

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

Returns

PromisePromise<void>Required
Resolves when rules are successfully removed.
Was this section helpful?