Skip to main content

setOrganizationBaseCurrency

Requires permission settings:tenant:update.

Set base currency (only before first transaction). Requires permission to update tenant settings.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation SetOrganizationBaseCurrency($input: SetBaseCurrencyInput!) {
setOrganizationBaseCurrency(input: $input)
}

Variables:

{
"input": {
"currencyCode": "string"
}
}

Response:

{
"data": {
"setOrganizationBaseCurrency": true
}
}
setOrganizationBaseCurrency(
input: SetBaseCurrencyInput!
): Boolean!

Arguments​

setOrganizationBaseCurrency.input ● SetBaseCurrencyInput! non-null input​

The fields of the base currency to change.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.