Skip to main content

countries

Public: no authentication required.

Get list of all available countries

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query Countries {
countries {
code
currencyCode
phoneCode
name
currencyName
flag
}
}

Response:

{
"data": {
"countries": [
{
"code": "string",
"currencyCode": "string",
"phoneCode": "string",
"name": "string",
"currencyName": "string",
"flag": "string"
}
]
}
}
countries: [CountryListItem!]!

Type​

CountryListItem object​

A country to pick from.