query

countries

List of supported countries.
Arguments
onboarding
Boolean
List countries which allowed for onboard on Platform.
pageNo
Int
The page number to navigate through the given set of results. Default value is 1.
pageSize
Int
The number of items to retrieve in each page. Default value is 12.
search
String
This parameter is used to filter or search the records.
Response
List of countries, each containing detailed information about individual country.
Pagination details for the list of locations, including current page, page size, and total items.
Query
1query countries(
2 $onboarding: Boolean
3 $pageNo: Int
4 $pageSize: Int
5 $search: String
6) {
7 countries(
8 onboarding: $onboarding
9 pageNo: $pageNo
10 pageSize: $pageSize
11 search: $search
12 ) {
13 items {
14 display_name
15 iso2
16 iso3
17 name
18 phone_code
19 timezones
20 id
21 latitude
22 longitude
23 type
24 }
25 page {
26 current
27 next_id
28 has_previous
29 has_next
30 item_total
31 type
32 size
33 }
34 }
35}
Try it
Input Variables
1{
2 "onboarding": true,
3 "pageNo": 42,
4 "pageSize": 42,
5 "search": "search"
6}
Response
1{
2 "countries": {
3 "items": [
4 {
5 "display_name": "display_name",
6 "iso2": "iso2",
7 "iso3": "iso3",
8 "name": "A name",
9 "phone_code": "phone_code",
10 "timezones": [
11 "timezones"
12 ],
13 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",
14 "latitude": "latitude",
15 "longitude": "longitude",
16 "type": "type"
17 }
18 ],
19 "page": {
20 "current": 42,
21 "next_id": "next_id",
22 "has_previous": true,
23 "has_next": true,
24 "item_total": 42,
25 "type": "type",
26 "size": 42
27 }
28 }
29}