---
title: "PUT /api/spend-tracker/currency-rates"
method: PUT
path: "/api/spend-tracker/currency-rates"
tags: ["Spend tracker"]
---

# PUT /api/spend-tracker/currency-rates

`PUT /api/spend-tracker/currency-rates`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/spend-tracker/currency-rates`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/spend-tracker/currency-rates/put.ts> (a function with typed inputs; its response is checked against the schema)

Update currency exchange rates for a season

## Request body

- CurrencyExchangeRateUpdateRequest
  - `season_id` integer, required
  - `rates` object[], required
    - `from` string
    - `rate` number, float

## Response `200`

Updated currency exchange rates

- CurrencyExchangeRateResource[]
  - `id` integer
  - `season_id` integer
  - `from` string
  - `to` string
  - `rate` number, float

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
