citiesAndProvince
Get a list of cities and their corresponding province from a given postcode.
Arguments
The postcode of the cities to return.
Returns
[CityProvinceType]Possible Errors
Allowed Viewers
Required Permissions
(No)Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query CitiesAndProvince($postcode: String!) {
citiesAndProvince(postcode: $postcode) {
cities
province
}
}
Variables
{
"postcode": "kid-truth-us-prevent-already"
}
Response
{
"data": {
"citiesAndProvince": [
{
"cities": "arrive-question-support-laugh-future",
"province": "opportunity-knowledge-enjoy-rather-prevent"
}
]
}
}