Lấy Danh Sách
AI-generatedOverview
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
- Retrieve all product categories without limit.
- 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 KiotViettotal- Total number of categories availablepageSize- Number of results per page as per filter or limitcurrentPage- 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.