currencyCreate

Graphql fields and variables for the currencyCreate mutation

Create a currency

Scope required: billing:write

For a complete list of input attributes see the CurrencyAttributes type

mutation currencyCreate ($attributes: CurrencyAttributes!) {
  currencyCreate (attributes: $attributes) {
      currency {
        conversionRate
        enabled
        id
        isoCode
        isoNumeric
        name
        priority
        symbol
        symbolFirst
      }
      errors
  }
}

Arguments

{
  "attributes": {
    "name": "",
    "isoCode": "",
    "enabled": true,
    "realtime": true,
    "priority": 123,
    "conversionRate": "BigDecimal",
    "conversionType": "CurrencyConversionType"
  }
}
Name
Type
Description

Response

Name
Type
Description

currency

errors

String

Last updated

Was this helpful?