UpdateCurrencyInput
Changes to a currency. Omitted fields stay as they are.
input UpdateCurrencyInput {
code: String
decimalPlaces: Int
decimalSeparator: String
isActive: Boolean
isBaseCurrency: Boolean
name: String
sortOrder: Int
symbol: String
symbolPosition: String
thousandSeparator: String
type: String
updatedBy: String
}
Fields
UpdateCurrencyInput.code ● String scalar
The currency code, such as an ISO 4217 code.
UpdateCurrencyInput.decimalPlaces ● Int scalar
How many decimal places amounts show.
UpdateCurrencyInput.decimalSeparator ● String scalar
The character between the whole and decimal parts.
UpdateCurrencyInput.isActive ● Boolean scalar
Whether the record is active.
UpdateCurrencyInput.isBaseCurrency ● Boolean scalar
True when this is the organization's base currency.
UpdateCurrencyInput.name ● String scalar
The name of the currency.
UpdateCurrencyInput.sortOrder ● Int scalar
The position in lists, lowest first.
UpdateCurrencyInput.symbol ● String scalar
The currency symbol.
UpdateCurrencyInput.symbolPosition ● String scalar
Where the symbol goes: before or after the amount.
UpdateCurrencyInput.thousandSeparator ● String scalar
The character between thousands.
UpdateCurrencyInput.type ● String scalar
The kind of currency: fiat, crypto or commodity.
UpdateCurrencyInput.updatedBy ● String scalar
The ID of the user who changed it.
Member Of
updateCurrency mutation