citiesAndProvince
Get a list of cities and their corresponding province from a given postcode.
Arguments
The postcode of the cities to return.
Returns
[CityProvinceType]Examples
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": "suddenly-itself-who-southern-myself"
}
Response
{
"data": {
"citiesAndProvince": [
{
"cities": "stand-nearly-represent-fire-debate",
"province": "fish-agree-skin-understand-risk"
}
]
}
}