Skip to main content

ExchangeRate

An exchange rate from a channel's shop currency to one of its presentment currencies.

type ExchangeRate {
createdAt: Timestamp!
id: GlobalID!
presentmentCurrency: CurrencyCode!
rate: Float!
shopCurrency: CurrencyCode!
updatedAt: Timestamp!
}

Fields​

ExchangeRate.createdAt ● Timestamp! non-null scalar types​

The date and time when the exchange rate was created.

ExchangeRate.id ● GlobalID! non-null scalar types​

The exchange rate's ID.

ExchangeRate.presentmentCurrency ● CurrencyCode! non-null enum types​

The presentment currency the rate converts to.

ExchangeRate.rate ● Float! non-null scalar types​

The number of units of the presentment currency per unit of the shop currency.

ExchangeRate.shopCurrency ● CurrencyCode! non-null enum types​

The shop currency the rate converts from.

ExchangeRate.updatedAt ● Timestamp! non-null scalar types​

The date and time when the exchange rate was last updated.

Member Of​

Channel object