Przejdź do głównej zawartości

PriceMoney

Price with full conversion transparency

type PriceMoney {
amount: String!
baseAmount: String!
baseCurrencyCode: String!
currencyCode: String!
exchangeRate: Float
isConverted: Boolean!
marginApplied: Float
rateTimestamp: DateTime
}

Fields

PriceMoney.amount ● String! non-null scalar

Price amount in display currency

PriceMoney.baseAmount ● String! non-null scalar

Original price in shop base currency

PriceMoney.baseCurrencyCode ● String! non-null scalar

Shop base currency code

PriceMoney.currencyCode ● String! non-null scalar

Display currency code (ISO 4217)

PriceMoney.exchangeRate ● Float scalar

Exchange rate used (null if same currency)

PriceMoney.isConverted ● Boolean! non-null scalar

Whether price was converted from different currency

PriceMoney.marginApplied ● Float scalar

Margin applied by shop (e.g., 0.02 = 2%)

PriceMoney.rateTimestamp ● DateTime scalar

When the exchange rate was fetched

Member Of

CartCost object ● CartLineCost object ● ConvertedPriceRange object ● PriceReductionInfo object ● ProductVariant object