Skip to main content
PUT
Toggle a currency
This is the same switch as the currency switch in the app. The setting covers every company in the organization. The request has no body. You cannot turn a currency off while it is the base currency of a company, while a transaction that is not archived uses it, while an active account uses it, or while an item has a price in it. The request then fails with 422, and the error names each reason. An unknown currency code also fails with 422. To see the new state, list the currencies.

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Maximum string length: 255

Path Parameters

currency_iso_4217_code
string
required

Response

OK

success
boolean
default:true
errors
Errors · object
message
string | null