Danh sách kho hàng

  • API này dùng để lấy danh sách kho hàng.

  • Chú ý: Dữ liệu này rất ít khi bị thay đổi (chỉ xảy ra khi doanh nghiệp mở thêm kho mới), bạn có thể cache dữ liệu trên hệ thống của bạn để giảm tải việc phải gọi API liên tục, thời gian cache khuyến cáo là 24h.

Request

curl --location 'https://pos.open.nhanh.vn/v3.0/business/depot?appId={{appId}}&businessId={{businessId}}' \
--header 'Authorization: {{accessToken}}' \
--header 'Content-Type: application/json'
--data '{
    "filters": {
        "ids": []
    }
}'

Filters

Name
Type
Description

ids

array

Mảng id cần lấy dữ liệu. Để trống để lấy toàn bộ dữ liệu.

Response

Failed response

Successful response

Last updated