get Browse Groups CRT
suspend fun getBrowseGroupsCRT(groupId: String? = null, groupsMaxDepth: Int? = null): BrowseGroupsResponse
Content copied to clipboard
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)
}
}
}
Content copied to clipboard
Parameters
group Id
id of the specific group to be included in the response
groups Max Depth
maximum depth of group hierarchy to be included in response