currencyUpdate

Update a currency. The currencyUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

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
  }
}

ArgumentsLink to Arguments section

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

ResponseLink to Response section

Name Type Description
currency Currency  
errors String