Create Exchange Rate
Creates a new exchange rate linking a target currency to a conversion rate.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminSettingsExchangeRate(input:) | Mutation | Create an exchange rate |
Input
| Field | Required | Notes |
|---|---|---|
targetCurrency | yes | Numeric id of an existing currency that does not already have a rate. |
rate | yes | Positive numeric multiplier. |
Notes
- A currency may have only one exchange rate. Supplying a
targetCurrencythat already has a rate is rejected withThe selected target currency is invalid.(equivalent to HTTP 422). To change an existing rate, use Update instead.
Permission: settings.exchange_rates.create.
TIP
All operations require an admin Bearer token — see Authentication.

