Skip to main content
PATCH
Every currency, with the symbol and the number of decimal places an amount in it is written to.

Headers

Prefer
enum<string>

Preference

Available options:
return=representation,
return=minimal,
return=none

Query Parameters

id
string
code
string
name
string
symbol
string
decimal_places
string
is_active
string

Body

currencies

Every currency, with the symbol and the number of decimal places an amount in it is written to.

Global reference data — the same rows for every tenant — so it is fetched once and cached for the session. is_active is returned rather than applied: offer only the active ones, but render every one, because a row denominated in a retired currency still has to say so.

code
string<character varying>
Maximum string length: 3
decimal_places
integer<smallint>
id
string<uuid>

Note: This is a Primary Key.

is_active
boolean<boolean>
name
string<character varying>
Maximum string length: 100
symbol
string<character varying>
Maximum string length: 10

Response

204

No Content