Actions9
Category → Get Many
AI-generatedSummary
Fetch many category records with optional pagination and extra fields.
Inputs
- page — Zero-based page index for pagination.
- size — Number of categories to return per page.
- additionalFields — Collection of extra fields to include in each category object.
Output shape
array of category objects
Pagination works via page and size; additionalFields may add nested data but does not change the array shape.
Examples
Example 1: Retrieve the first page of categories, 50 items per page, with product counts included.
page=0, size=50, additionalFields={productCount:true}
Example 2: Get the second page of categories, 20 items per page, no extra fields.
page=1, size=20, additionalFields={}
Example 3: Fetch all categories up to a limit of 100, using returnAll=true.
additionalFields={returnAll:true, limit:100}