deleteRuleTypes - Pricing Module Reference
BetaThis documentation provides a reference to the deleteRuleTypes
method. This belongs to the Pricing Module.
This method is used to delete rule types based on the provided IDs.
Example
Parameters
ruleTypeIds
string[]RequiredThe IDs of the rule types to delete.
sharedContext
ContextA context used to share resources, such as transaction manager, between the application and the module.
sharedContext
ContextReturns
Promise
Promise<void>RequiredResolves once the rule types are deleted.
Was this section helpful?