Spend tracker
PUT /api/spend-tracker/currency-rates
Update currency exchange rates for a season
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"season_id": 292,
"rates": [
{
"from": "EUR",
"rate": 1.0478
}
]
}Response
Updated currency exchange rates
Example response
[
{
"id": 1,
"season_id": 292,
"from": "EUR",
"to": "USD",
"rate": 1.0478
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.