Fetch city list with address for logged in user (03/02)
Fire this api to get city list with address for logged in user.
GET
https://castleindia.in/emart/public /api/search/pincode/auth?pincode=xxxx /api/search/pincode/auth
Query Parameters
Name
Type
Description
pincode*
String
Enter the pincode eg: 311001
Headers
Name
Type
Description
Accept*
String
application/json
Authentication*
String
Bearer {bearer_token without brackets}
[
{
"address": "Sector -62 , RCM Area",
"cityid": 3327,
"cityname": "Bhilwara",
"pincode": 311001,
"stateid": 33,
"statename": "Rajasthan",
"countryid": null,
"countryname": null
},
{
"address": "Sector -62 , RCM Area",
"cityid": 3327,
"cityname": "Bhilwara",
"pincode": 311001,
"stateid": 33,
"statename": "Rajasthan",
"countryid": null,
"countryname": null
},
{
"cityid": 1,
"cityname": "Bombuflat",
"pincode": 311001,
"stateid": 1,
"statename": "Andaman and Nicobar Islands",
"countryid": 101,
"countryname": "India"
},
{
"cityid": 2142,
"cityname": "Bhilakhedi",
"pincode": 311002,
"stateid": 21,
"statename": "Madhya Pradesh",
"countryid": 101,
"countryname": "India"
},
{
"cityid": 3327,
"cityname": "Bhilwara",
"pincode": 311001,
"stateid": 33,
"statename": "Rajasthan",
"countryid": 101,
"countryname": "India"
}
]
IF response fail you will get the following
{
"msg": "No result found !",
"status": "fail"
}
Last updated
Was this helpful?