curl --request GET \
--url http://staging.qshop.ng/apiv2/locations/countries/{countryId}/states{
"msg": "<string>",
"data": [
{
"_id": "<string>",
"name": "<string>",
"geoId": "<string>",
"countryCode": "<string>",
"countryGeoId": "<string>",
"code": "<string>",
"longitude": 123,
"latitude": 123,
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"__v": 123
}
],
"success": true
}Host: http://qshop.ng
curl --request GET \
--url http://staging.qshop.ng/apiv2/locations/countries/{countryId}/states{
"msg": "<string>",
"data": [
{
"_id": "<string>",
"name": "<string>",
"geoId": "<string>",
"countryCode": "<string>",
"countryGeoId": "<string>",
"code": "<string>",
"longitude": 123,
"latitude": 123,
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"__v": 123
}
],
"success": true
}Show child attributes
Was this page helpful?