Nhất Tín LogisticsDevelopers
API ReferenceLocations

Districts

Get the list of districts by province or city.

GET/v3/loc/districts

Return the districts that belong to a given `province_id`.

Auth: Bearer access token

Query parameters

FieldTypeRequiredDescription
province_idnumberYesProvince/city ID.
curl --request GET \
--url "https://apisandbox.ntlogistics.vn/v3/loc/districts?province_id=99" \
--header "Authorization: Bearer <access_token>"

Response

{
  "success": true,
  "data": [
    {
      "id": "1101",
      "district_name": "TP.Cao Bang",
      "is_new": "N"
    }
  ]
}

On this page