Locales > Currencies > currenciesCreate
POST:currencies.json
Description
Create shop currencies.
Permission bit: "currencies.create"
Topic: Currencies
Arguments
data: [CurrencyCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Additional fee to add when converting to and from this currency (in percents)
Example: 5.5
Valid when: conversion_fee is valid percentage, i.e.: 0 ≤ conversion_fee ≤ 100
Currency code
Example: "USD"
Custom exchange rate to use when converting from primary to this currency
Example: 5.1231237
Valid when: custom_exchange_rate is a non-negative float
Whether it's allowed to place orders in this currency
Example: false
format: CurrencyFormatCreate
Currency formatting options
Result
[Currency!]
Preview (typescript)
Loading module