get Browse Facet Options CRT
suspend fun getBrowseFacetOptionsCRT(facetName: String, showHiddenFacets: Boolean? = null): BrowseFacetOptionsResponse
Content copied to clipboard
Returns a list of browse facet options results. This function should be called within a coroutine scope.
Example:
runBlocking {
launch {
try {
val browseFacetOptionsResults = constructorIo.getBrowseFacetOptionsCRT("Brand", false)
// Do something with browseFacetOptionsResults
} catch (e: Exception) {
println(e)
}
}
}
Content copied to clipboard
Parameters
facet Name
name of the facet whose options to return
show Hidden Facets
show fields that are hidden by default