Danh Mục KiotViet icon

Danh Mục KiotViet

Quản lý danh mục sản phẩm từ KiotViet

Lấy Danh Sách

AI-generated

Overview

This node interacts with the KiotViet API to retrieve a list of product categories. It supports fetching all categories or a limited number based on user-defined filters such as page size, current page, search term, and parent category ID. This is useful for scenarios where users need to manage or display product categories from KiotViet, such as syncing categories with another system or displaying them in a custom interface.

Use Case Examples

  1. Retrieve all product categories without limit.
  2. Fetch a limited number of categories with pagination and search filters.

Properties

Name Meaning
Trả Về Tất Cả Whether to return all results or only up to a given limit
Giới Hạn Maximum number of results to return when not returning all
Bộ Lọc Filters to refine the category list results

Output

JSON

  • data - Array of category objects retrieved from KiotViet
  • total - Total number of categories available
  • pageSize - Number of results per page as per filter or limit
  • currentPage - Current page number as per filter

Dependencies

  • KiotViet API with authentication credentials

Troubleshooting

  • Ensure the KiotViet API credentials are correctly configured and valid to avoid authentication errors.
  • If the node returns fewer results than expected, check the 'Trả Về Tất Cả' and 'Giới Hạn' settings to ensure they are set as intended.
  • Network or API downtime may cause request failures; retry or check API status if errors occur.

Discussion