Skip to main content
Version: 3.0.0

Get Cities

Get a list of cities and their city_id codes where Ahamove operates in Vietnam

HTTP Request

curl --location 'https://partner-apistg.ahamove.com/v3/cities?country_id=VN' \
--header 'Authorization: Bearer <token>'

HTTP Request

GET https://partner-apistg.ahamove.com/v3/cities?country_id=VN

Headers

ParameterValueRequiredDescription
AuthorizationBearer <token>YesToken of the user account

Query Parameters

ParameterTypeRequiredDescription
country_idStringYesCountry ID

Response

JSON response example:

[
{
"_id": "HAN",
"name": "Ha Noi",
"name_vi_vn": "Hà Nội",
"country_id": "VN",
...
},
{
"_id": "SGN",
"name": "Ho Chi Minh City",
"name_vi_vn": "TP Hồ Chí Minh",
"country_id": "VN",
...
}
]

Status-Code: 200 OK