--- displayed_sidebar: pricingReference badge: variant: orange text: Beta slug: /references/pricing/deletePriceRules sidebar_label: deletePriceRules --- import ParameterTypes from "@site/src/components/ParameterTypes" # 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 ```ts import { initialize as initializePricingModule, } from "@medusajs/pricing" async function deletePriceRules ( id: string, ) { const pricingService = await initializePricingModule() await pricingService.deletePriceRules([id]) } ``` ## Parameters ## Returns