get Product Categories
suspend fun getProductCategories(page: Int, pageSize: Int, sortAndFilter: ZyncProductCategoriesSortAndFilter = ZyncProductCategoriesSortAndFilter.default): GetProductCategoriesResult
Fetch paginated list of product categories.
This method implements an offline-first pagination approach:
Page 1: Returns cached data immediately with optional background sync
Page 2+: Fetches from API only, no caching
Return
GetProductCategoriesResult containing paginated category list or error
Parameters
page
Page number (1-indexed)
page Size
Number of categories per page