List of countries
Fire this api to get list of available countries.
GET
https://castleindia.in/emart/public /api/countries /api/countries
Query Parameters
Name
Type
Description
secret*
String
Client secret which obtained from admin panel.
Headers
Name
Type
Description
Accept*
String
application/json
{
"countries": [
{
"id": 38,
"name": "Canada"
},
{
"id": 101,
"name": "India"
},
{
"id": 166,
"name": "Pakistan"
},
{
"id": 231,
"name": "United States"
}
],
"status": "success"
}
IF response fail
{
"msg": "The secret field is required.",
"status": "fail"
}
Last updated
Was this helpful?