currencies
Update existing currency.
Update existing currency.
put/v1/currencies/{code}
Request
- Base URLhttps://demo.firefly-iii.org/api
- URLhttps://demo.firefly-iii.org/api/v1/currencies/{code}
- Auth
- OAuth 2Authorization code: https://demo.firefly-iii.org/oauth/authorizeToken URL: https://demo.firefly-iii.org/oauth/token
- or HTTP bearer
Path parameters
codestring string required
Example:EUR
The currency code.
Headers
X-Trace-Idstring uuid
Example:40c71bbb-c676-4f24-83cf-cc725d7d7a00
Unique identifier associated with this request.
Request body
Example request
{
"enabled": true,
"primary": true,
"code": "AMS",
"name": "Ankh-Morpork dollar",
"symbol": "AM$",
"decimal_places": 2
}Response
Updated currency stored, result in response
Example response
{
"data": {
"type": "currencies",
"id": "2",
"attributes": {
"created_at": "2026-02-01T00:00:00+00:00",
"updated_at": "2026-02-01T00:00:00+00:00",
"enabled": true,
"code": "AMS",
"name": "Ankh-Morpork dollar",
"symbol": "AM$",
"decimal_places": 2
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.