currencyUpdate

Graphql fields and variables for the currencyUpdate mutation

Update a currency

Scope required: billing:write

For a complete list of input attributes see the CurrencyAttributes type

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

Arguments

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

id

ID

Response

Name
Type
Description

currency

errors

String

Last updated

Was this helpful?