Skip to main content
Skip to main content

deleteRuleTypes - Pricing Module Reference

This 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

const ruleTypes = await pricingModuleService.deleteRuleTypes([
"rul-typ_123",
"rul-typ_321",
])

Parameters

ruleTypeIdsstring[]Required
The IDs of the rule types to delete.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves once the rule types are deleted.
Was this section helpful?