Skip to main content

Money

Represents amount of money in specific currency.

type Money {
currency: String!
baseAmount: BigInt!
}

Fields

Money.currency ● String! non-null scalar

The 3-letter ISO currency code, such as USD or EUR.

Money.baseAmount ● BigInt! non-null scalar

The monetary amount in the smallest denomination of the currency.

For currencies that support 2 decimal places, e.g. USD, $12.45 would be returned in this field as 1245.

For currencies that support 3 decimal places, e.g. KWD, KD 5.124 would be returned in this field as 5124.

For currencies that do not support decimal places, e.g. JPY, ¥500 would be returned in this field as 500.

For a full list of 3 decimal and 0 decimal currencies, reference the Nautical guide.

Member Of

AttributeValue object ● Checkout object ● Fulfillment object ● Ledger object ● LedgerEntry object ● MoneyRange object ● NauticalOrder object ● NauticalOrderLine object ● Order object ● OrderFee object ● OrderPayoutSummary object ● Payment object ● Payout object ● Product object ● ProductVariant object ● Sale object ● ShippingMethod object ● TaxedMoney object ● Transaction object ● User object ● VendorPayout object ● Voucher object ● WishlistItem object

Was this page helpful?