Search for Products

You can search for products by sending a request to the Catalog using the following code:

Python

try:

catalog_search_fetch_data = catalog.search(catalog_object)
print("catalog_fetch_data----", catalog_search_fetch_data)

except Exception as e:
    print(f"Error performing search: {e}")

Example Catalog Object

catalog_object = {

 "query":"Belt",
 "search_type": "semantic",
 "image_url": "https://cdnaz.plotch.io/image.png",
 "price": 599.0,
 "image_bytes": "898988CVFIFASS",
 "cataloglake_id": "groclake_products_81skstvyw3"

}

Example App code

Last updated