API ReferenceLocations
Wards
Get the list of wards by legacy district or new province/city.
GET
/v3/loc/wardsReturn the list of wards used for shipment creation and fee calculation.
Auth: Bearer access token
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
district_id | string | Conditional | Legacy district code. |
is_new | string | No | Use 1 for new units, 0 for legacy units. Default is 0. |
province_id | string | Conditional | New province/city code when is_new=1. |
curl --request GET \
--url "https://apisandbox.ntlogistics.vn/v3/loc/wards?district_id=9904" \
--header "Authorization: Bearer <access_token>"Response
{
"success": true,
"data": [
{
"id": "01106",
"ward_name": "P.Hong Gai",
"is_new": "N"
}
]
}