Check City Serviceable
This api is used to find if the city given in the request is servicable by 1mg. City is provided in the query params.
Query Parameters
- city string
(Required) City Name
Example: gurgaon
Header Parameters
- Content-Type stringExample: application/json
- x-access-key stringExample: 1mg_client_public_access_key
- X-Authorization stringExample: {{X-Authorization}}
Responses
- 200
OK
Response Headers
Date string
Content-Type string
Transfer-Encoding string
Connection string
vary string
x-request-id string
set-cookie string
visitor-id string
x-visitor-id string
access-control-allow-methods string
access-control-allow-headers string
access-control-allow-origin string
CF-Cache-Status string
Server string
CF-RAY string
Content-Encoding string
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"data": {
"city": "gurgaon",
"tag": {
"label": "SAFE"
},
"serviceable": true
},
"partial_complete": false,
"is_success": true,
"status_code": 200
}
Loading...