Skip to main content
GET
/
locations
/
countries
/
{countryId}
/
states
States
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
}

Query Parameters

sort
string
countryId
string
required

Response

200 - application/json
msg
string
required
data
object[]
required
success
boolean
required