Hạn mức tồn kho

Request

curl --location --globoff 'https://pos.open.nhanh.vn/v3.0/inventory/archive?appId={{appId}}&businessId={{businessId}}' \
--header 'Authorization: {{accessToken}}' \
--header 'Content-Type: application/json' \
--data '{
    "filters": {
    },
    "paginator": {
        "size": 50,
        "sort": {"id": "desc"},
        "next": {"id": 100}
    }
}'

Filters

Key
Type
Description

productIds

array

Mảng ID sản phẩm, tối đa 100

depotIds

array

Id cửa hàng - tối đa 500

categoryId

int

Id danh mục sản phẩm

brandId

array

ID thương hiệu

createdAtFrom

int

Tạo hạn mức tồn kho từ ngày (định dạng timestamp)

createdAtTo

int

Tạo hạn mức tồn kho đến ngày (định dạng timestamp)

updatedAtFrom

int

Cập nhật hạn mức tồn kho từ ngày (định dạng timestamp)

updatedAtTo

int

Cập nhật hạn mức tồn kho đến ngày (định dạng timestamp)

Paginator

sort

Value
Description
Sort

id

ID sản phẩm

desc: giảm dần, asc: tăng dần

Response

Failed response

Successful response

Last updated