getBrowseGroupsCRT

suspend fun getBrowseGroupsCRT(groupId: String? = null, groupsMaxDepth: Int? = null): BrowseGroupsResponse

Returns a list of browse groups results. This function should be called within a coroutine scope.

Example:

runBlocking {
launch {
try {
val browseGroupsResults = constructorIo.getBrowseGroupsCRT("Brand", 3)
// Do something with browseGroupsResults
} catch (e: Exception) {
println(e)
}
}
}

Parameters

groupId

id of the specific group to be included in the response

groupsMaxDepth

maximum depth of group hierarchy to be included in response