API Docs
Home
Home
Developer GuideAPI
StatusWebhooks
Developer GuideAPI
StatusWebhooks
  1. Address Directory
  • Config
    • List Pickup Address
      GET
    • List Box Dimension
      GET
    • List vendor
      GET
    • List store
      GET
    • List category
      GET
    • List brand
      GET
    • List Outbound Strategy
      GET
    • List Product Type
      GET
    • List Material
      GET
    • List Storage Method
      GET
    • List Unit
      GET
    • Upload File
      POST
  • Online Product
    • Create Single Product
      POST
    • Create Product From Product Inventory
      POST
    • List product
      GET
    • Product detail
      GET
  • Product Inventory
    • Create single inventory product
      POST
    • List product inventory
      GET
    • Product inventory detail
      GET
    • Get Product Inventory in Warehouse
      GET
  • Order
    • Shipping Service
      • Preview shipping prices
        • List shipping service
        • List available courier
      • List available courier from order
      • List shipping service of courier
    • Create order B2C
      POST
    • Create order B2B
      POST
    • List order
      GET
    • Order detail
      GET
    • Cancel order
      PATCH
  • Shipment
    • Create shipment auto
    • [Retail][Ship by self] Create shipment with item
    • Cancel shipment
    • List shipment
    • Shipment detail
    • List shipment of order
  • Shipment Inbound
    • Create shipment inbound
    • Cancel shipment inbound
    • List shipment inbound
    • Shipment inbound detail
    • Shipment inbound items
  • Order Return
    • List return order
    • Return order detail
    • Create return order
    • Cancel Return Order
  • Courier
    • List courier service integrated
    • List courier operate
    • List courier integrated
  • Address Directory
    • Province
      GET
    • District
      GET
    • Ward
      GET
  1. Address Directory

District

GET
/api/v1/addresses/district/list

Request

Query Params

Header Params

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/api/v1/addresses/district/list?province_id={{province_id}}' \
--header 'Authorization;'
Response Response Example
{"status_code":200,"data":[{"id":296,"country":"VN","province_id":30,"district_name":"Huyện Bình Giang"},{"id":295,"country":"VN","province_id":30,"district_name":"Huyện Cẩm Giàng"},{"id":297,"country":"VN","province_id":30,"district_name":"Huyện Gia Lộc"},{"id":293,"country":"VN","province_id":30,"district_name":"Huyện Kim Thành"},{"id":291,"country":"VN","province_id":30,"district_name":"Huyện Nam Sách"},{"id":299,"country":"VN","province_id":30,"district_name":"Huyện Ninh Giang"},{"id":294,"country":"VN","province_id":30,"district_name":"Huyện Thanh Hà"},{"id":300,"country":"VN","province_id":30,"district_name":"Huyện Thanh Miện"},{"id":298,"country":"VN","province_id":30,"district_name":"Huyện Tứ Kỳ"},{"id":290,"country":"VN","province_id":30,"district_name":"Thành phố Chí Linh"},{"id":288,"country":"VN","province_id":30,"district_name":"Thành phố Hải Dương"},{"id":292,"country":"VN","province_id":30,"district_name":"Thị xã Kinh Môn"}],"error":false,"error_code":null,"log_id":null,"messages":"","total":12}
Previous
Province
Next
Ward
Built with