Lấy Danh Sách
AI-generatedOverview
This node interacts with the KiotViet API to retrieve a list of orders based on specified filters and pagination options. It is useful for scenarios where users need to fetch multiple orders from KiotViet, such as for reporting, data synchronization, or order management tasks. For example, a user can retrieve all orders within a date range, filter by branch ID, or limit results by order status.
Use Case Examples
- Fetch all orders with status 'Processing' from a specific branch.
- Retrieve orders created between two dates with pagination.
- Get a limited number of recent orders for quick overview.
Properties
| Name | Meaning |
|---|---|
| Trả Về Tất Cả | Whether to return all results or only up to a given limit (boolean). Used to control if the node fetches all pages of results or just a limited subset. |
| Giới Hạn | Maximum number of results to return when 'Trả Về Tất Cả' is false. Defines the limit on the number of orders fetched. |
| Bộ Lọc | Collection of filters to refine the order list. Includes pagination and filtering by branch ID, date range, and order status. |
Output
JSON
data- Array of order objects returned from KiotViet API.total- Total number of orders matching the filter criteria.pageSize- Number of results per page as requested or defaulted.
Dependencies
- KiotViet API with authentication credentials
Troubleshooting
- If the node returns an empty list, check the filter criteria and date formats.
- If pagination does not work as expected, verify 'Trang' (pageSize) and 'Số Trang' (currentPage) values.
- API errors may occur if authentication credentials are missing or invalid; ensure proper API key setup.
Links
- KiotViet API Documentation - Official API documentation for KiotViet, useful for understanding available endpoints and parameters.