Skip to content
Developer home
X3

Example GraphQL queries for Currencies

  Less than to read

Read US Dollar currency with all definition

{
  sage {
    x3Currencies {
      currency (filter: "{code: 'USD'}") {
        edges {
          node {
            code
            localizedDescription
            localizedShortDescription
            rounding
            isEuropeanCurrency
            euroFixedRate
            euroChangeOverDate
            europeanCurrencyEndDate
            symbol
            numberOfDecimals
            isoCode
            standardFormat
            shortFormat
            longFormat
          }
        }
      }
    }
  }
}

Try it on our demo endpoint

Read currency that is European Currency

{
  sage {
    x3Currencies {
      currency (filter: "{isEuropeanCurrency: true}") {
        edges {
          node {
            code
            localizedDescription
            localizedShortDescription
            rounding
            isEuropeanCurrency
            euroFixedRate
            euroChangeOverDate
            europeanCurrencyEndDate
            symbol
            numberOfDecimals
            isoCode
            standardFormat
            shortFormat
            longFormat
          }
        }
      }
    }
  }
}

Try it on our demo endpoint