Get Locations Ids
To create a delivery you need to send us ID of: the provincia (state) requires country id, canton (province) that required provincia id and distrito (district) that required province id.
Get the List of countries
GET https://api-sandbox.condorexpres.com/api/v1/public/location/countries
Headers
x-access-token*
String
Bearer token
{
"success": true,
"message": "Countries Returned",
"data": [
{
"id": 1,
"name": "Costa Rica"
}
]
}Get the list of states/provincias
GET https://api-sandbox.condorexpres.com/api/v1/public/location/states/:countryid
Get the list of states/provincias, replace countryid with id returned from list countries.
Headers
x-access-token*
String
Bearer token
Get the list of cantones
GET https://api-sandbox.condorexpres.com/api/v1/public/location/canton/:stateid
Get the list of cantones/provinces, replace stateid with id returned from list states.
Headers
x-access-token*
String
Bearer token
Get the list of districts
GET https://api-sandbox.condorexpres.com/api/v1/public/location/districts/:cantonid
Get the list of districts, replace cantonid with id returned from list canton.
Headers
x-access-token*
String
Bearer token
Last updated