Xem Nhiều
AI-generatedSummary
Fetch multiple categories, optionally retrieving all or limiting the result set.
Inputs
- returnAll — Select whether to retrieve all results or limit the number returned
- limit — Maximum number of results to fetch (used when returnAll is false)
Output shape
Array of objects, each with an items property containing the retrieved category records
Returns all categories if
returnAllis true; otherwise returns up tolimitcategories. No pagination metadata is provided.
Examples
Example 1: Retrieve the first 20 categories without loading the entire catalog
operation: Xem Nhiều, returnAll: false, limit: 20
Example 2: Fetch the complete list of categories in a single call
operation: Xem Nhiều, returnAll: true
Example 3: Process a list of items using the node to look up categories
operation: Xem Nhiều, returnAll: false, limit: 50 (input items provided)