The fetchDepictRecommendations
function takes an object of options as its argument, and returns a promise of an array of so-called displays (product data). Reference.
{"error":"(tenant, market, type) not yet configured. Please contact Depict."}
that probably means a type isn’t available for you - let us know if you want it.General recommendations are recommendations that aren’t related to any particular content but specific to the type of page. Most often, these are recommendations for the front page.
Use this if you want to fetch recommendations for a specific product. For example, if you want to show recommendations below the description on a product page.
Use this if you want to fetch recommendations for multiple products, e.g., for everything a user has in their cart.
Got more questions? See the reference