Get States#
This endpoint retrieves a list of states.Request#
No request body is required for this request.URL: api/business/getstates/
Response#
The response is in JSON format and has the following schema:{
"type": "object",
"properties": {
"status": {
"type": "boolean"
},
"message": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"total": {
"type": "string"
},
"statelist": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"statename": {
"type": "string"
}
}
}
}
}
}
}
}
Request
Example:X-Token: ********************
Request Code Samples
curl --location --request GET '/api/business/getstates/' \
--header 'marchant-id: BIZ12354124'
Responses
application/json Modified at 2024-10-17 16:02:45