There is a special param request in dropdown option which is city
.
An example to use this param is:
http://apiv4.ordering.co/v400/en/demo/dropdownoptions?params=city_id,city
The params
city
is requirescity_id
to works.
[
{
"id": 1,
"city_id": 1,
"city": {
"id": 1,
"name": "New York",
"country_id": 1,
"administrator_id": 4,
"enabled": true
}
},
...
]