Skip to main content

Country

A country, with the labels and provinces used in its addresses.

type Country {
code: CountryCode!
cityLabel: String!
emojiFlag: String
internationalPhoneCode: Int
name: String!
postcodeLabel: String!
presentProvinces: Boolean!
presentableProvinces: [Province!]
provinceLabel: String!
provinces: [Province!]
}

Fields​

Country.code ● CountryCode! non-null enum types​

The country's ISO 3166-1 alpha-2 code.

Country.cityLabel ● String! non-null scalar types​

The label to show for the city field in the country's addresses.

Country.emojiFlag ● String scalar types​

The country's flag as an emoji.

Country.internationalPhoneCode ● Int scalar types​

The country's international dialling code.

Country.name ● String! non-null scalar types​

The country's name.

Country.postcodeLabel ● String! non-null scalar types​

The label to show for the postcode field in the country's addresses.

Country.presentProvinces ● Boolean! non-null scalar types​

Whether to show a province field in the country's addresses.

Country.presentableProvinces ● [Province!] list object types​

The provinces to offer in the country's addresses, sorted by name. Empty when presentProvinces is false.

Country.provinceLabel ● String! non-null scalar types​

The label to show for the province field in the country's addresses.

Country.provinces ● [Province!] list object types​

All of the country's provinces, including those not offered in its addresses.

Returned By​

country query

Member Of​

Address object ● CountryConnection object ● CountryEdge object ● PostalAddress object