---
title: "Update existing currency."
method: PUT
path: "/v1/currencies/{code}"
tags: ["currencies"]
---

# Update existing currency.

`PUT /v1/currencies/{code}`

Update existing currency.

## Path parameters

- `code` string, string, required

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

Updated currency stored, result in response

- CurrencySingle
  - `data` CurrencyRead, required
    - `type` string, string, required — Immutable value
    - `id` string, string, required
    - `attributes` CurrencyProperties, required
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `enabled` boolean — Defaults to true
      - `primary` boolean — Is the primary currency?
      - `code` string, string, required
      - `name` string, string, required
      - `symbol` string, string, required
      - `decimal_places` integer — Supports 0-16 decimals.

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `422` — Validation error. The body will have the exact details.
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
