Skip to main content
Skip to main content

deletePriceRules - Pricing Module Reference

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

This method is used to delete price rules based on the specified IDs.

Example

await pricingModuleService.deletePriceRules([
"prule_123",
"prule_321",
])

Parameters

priceRuleIdsstring[]Required
The IDs of the price rules 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 price rules are deleted.
Was this section helpful?