Market
Market/language representation
type Market {
id: Int!
name: String
language: String
currency: Currency
defaultCountry: String
sort: Int
allowedCountries: [Country!]!
icon: String
labels: [LocalizedString!]!
}
Fields
id ● Int!
The id of the market
name ● String
Internal name for the market
language ● String
The language of the market
currency ● Currency
Currency object for the market
defaultCountry ● String
ISO 3166-1 alpha-2 country code
sort ● Int
The sort index of the market
allowedCountries ● [Country!]!
Which countries allow this market
icon ● String
URL to an icon representing the market, e.g. a flag
labels ● [LocalizedString!]!
Labels for different languages, can be used for display purposes in a localized way.
Example
{
"currency": {
"code": "USD",
"rate": 11.355,
"prefix": "$"
},
"allowedCountries": [
{
"phonePrefix": "+46"
}
],
"labels": [
{
"language": "EN",
"value": "String"
}
]
}