---
title: "Update an existing exchange rate"
method: PUT
path: "/exchangerate/{id}"
tags: ["ExchangeRate"]
---

# Update an existing exchange rate

`PUT /exchangerate/{id}`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/exchangerate/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- ExchangeRateRequest
  - `content` ExchangeRate
    - `id` integer, nullable: ID of the exchange rate
    - `currency` string: Currency code
    - `title` string: Title of the exchange rate
    - `store_id` integer: ID of the store that created the exchange rate
    - `rate` number: Exchange rate value
    - `created_at` string, date-time, nullable: Date and time when the exchange rate was created
    - `updated_at` string, date-time, nullable: Date and time when the exchange rate was last updated

## Response `200`

OK

- ExchangeRateResponse
  - `content` ExchangeRate
    - `id` integer, nullable: ID of the exchange rate
    - `currency` string: Currency code
    - `title` string: Title of the exchange rate
    - `store_id` integer: ID of the store that created the exchange rate
    - `rate` number: Exchange rate value
    - `created_at` string, date-time, nullable: Date and time when the exchange rate was created
    - `updated_at` string, date-time, nullable: Date and time when the exchange rate was last updated

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
