---
displayed_sidebar: pricingReference
badge:
variant: orange
text: Beta
slug: /references/pricing/updatePriceSetMoneyAmountRules
sidebar_label: updatePriceSetMoneyAmountRules
---
import ParameterTypes from "@site/src/components/ParameterTypes"
# updatePriceSetMoneyAmountRules - Pricing Module Reference
This documentation provides a reference to the `updatePriceSetMoneyAmountRules` method. This belongs to the Pricing Module.
This method is used to update price set money amount rules, each with their provided data.
## Example
```ts
import {
initialize as initializePricingModule,
} from "@medusajs/pricing"
async function updatePriceSetMoneyAmountRules (id: string, value: string) {
const pricingService = await initializePricingModule()
const priceSetMoneyAmountRules = await pricingService.updatePriceSetMoneyAmountRules([
{
id,
value
}
])
// do something with the price set money amount rules or return them
}
```
## Parameters
## Returns