Danh mục nội bộ

  • API này được sử dụng để lấy danh mục nội bộarrow-up-right.

  • Danh mục nội bộ thường rất ít khi bị thay đổi, bạn có thể lấy dữ liệu và cache khoảng 24h (và có chức năng để user có thể xóa cache, để lấy dữ liệu mới nhất khi cần) giúp giảm tải việc gọi API.

Request

curl --location 'https://pos.open.nhanh.vn/v3.0/product/internalcategory?appId={{appId}}&businessId={{businessId}}' \
--header 'Authorization: {{accessToken}}' \
--header 'Content-Type: application/json'
--data '{
    "filters": {
        "name": "Tên danh mục nội bộ"
    },
    "paginator": {
        "size": 50,
        "next": ""
    }
}'

Filters

Key
Type
Description

ids

array

Mảng ID danh mục nội bộ, tối đa 100

name

string

Tên danh mục

code

string

Mã danh mục

Response

Failed response

Successful response

Last updated