---
displayed_sidebar: pricingReference
badge:
variant: orange
text: Beta
slug: /references/pricing/updateCurrencies
sidebar_label: updateCurrencies
---
import ParameterTypes from "@site/src/components/ParameterTypes"
# updateCurrencies - Pricing Module Reference
This documentation provides a reference to the `updateCurrencies` method. This belongs to the Pricing Module.
This method is used to update existing currencies with the provided data. In each currency object, the currency code must be provided to identify which currency to update.
## Example
```ts
import {
initialize as initializePricingModule,
} from "@medusajs/pricing"
async function updateCurrencies () {
const pricingService = await initializePricingModule()
const currencies = await pricingService.updateCurrencies([
{
code: "USD",
symbol: "$",
}
])
// do something with the currencies or return them
}
```
## Parameters
## Returns