1. Config
Onflow Open API
  • Getting Started
  • API
    • Config
      • Get Warehouse
        GET
      • Get Brand
        GET
      • Upload file
        POST
    • Product
      • Create Product
      • Assign Product
      • Get Product List
      • Get Product Detail
      • Delete Product
      • Get Stock
    • PO
      • Get PO List
      • Create PO
      • Cancel PO
    • Shipment
      • B2C shipment
        • Get B2C Shipment
        • Create B2C Shipment
          • Create B2C Shipment
        • Cancel B2C Shipment
          • Cancel B2C Shipment
  1. Config

Get Warehouse

GET
/api/common/v1/warehouses/list
This API is used to retrieve warehouse list
Note: This data rarely changes and is only updated when a new warehouse is added or an existing warehouse is closed. It is recommended to cache the data on your system to reduce frequent API calls, with a suggested cache duration of 24 hours.

Request

None

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/common/v1/warehouses/list'
Response Response Example
{
    "data": [
        {
            "code": "ONF_WH_HCM_APD",
            "name": "FC APD",
            "address": "Đường An Phú Đông 13, An Phú Đông, Quận 12, Thành phố Hồ Chí Minh"
        },
        {
            "code": "ONF_WH_HCM_TB",
            "name": "FC TB",
            "address": "Kho xưởng số 6, Cụm 6, Nhóm CN II, Đường số 13, KCN Tân Bình, P. Tây Thạnh, TP. HCM"
        },
        {
            "code": "ONF_WH_HN_LB",
            "name": "FC HN",
            "address": "Số 1 Huỳnh Tấn Phát, KCN Sài Đồng B, P. Thạch Bàn, Q. Long Biên, Tp. Hà Nội, Việt Nam"
        }
    ],
    "error": false,
    "error_code": null,
    "log_id": null,
    "messages": "OK",
    "total": 1,
    "version": "1.0.3",
    "error_detail": null
}
Modified at 2026-01-28 10:09:33
Previous
Getting Started
Next
Get Brand
Built with