Retrieve a list of all states within a specified country
GET /countries/{countryId}/states
GET
/countries/{countryId}/states
Fetches and returns the details of all states associated with a given countryId.
Parameters
Path Parameters
countryId
required
number
Responses
200
Success
object
message
required
string
success
required
boolean
data
required
object
statusCode
required
number