Skip to main content

Money

No description

type Money {
currency: String!
amount: Float! @deprecated
baseAmount: BigInt!
}

Fields

Money.currency ● String! non-null scalar

Money.amount ● Float! deprecated non-null scalar

DEPRECATED

Use baseAmount instead for the amount in smallest currency units.

The amount in decimal form (internal use).

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.

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?