getCategories

abstract suspend fun getCategories(locale: String, limit: Int, offset: Int): ApiResponse<CategoriesResponse, ErrorBody>(source)

Get categories API returns the available categories.

Return

CategoriesResponse when success and ErrorBody when error.

Parameters

locale
limit
offset