Skip to Content

Currency

Provides information about a currency, such as its name, symbol, ISO code, and formatting details.

Type Definition

type Currency { id: Int name: String symbol: String isoCode: String }

Fields

FieldTypeDescription
idIntUnique identifier for this currency.
nameStringDisplay name of this currency.
symbolStringCurrency symbol (e.g., €, $).
isoCodeStringISO 4217 code for this currency.

Relationships

The Currency type is used by several other types in the schema. It appears as a field in CartPaymentMethod, where it specifies the currency for payment processing. Country uses Currency to define the default or supported currency for that region. Customer references Currency to store the customer’s preferred currency for transactions and pricing display.

Example

{ id name symbol isoCode }

Implements

This type does not implement any interfaces.