fetchDepictRecommendations function takes an object of options as its argument, and returns a promise of an array of so-called displays (product data). Reference.
Regarding MERCHANT_ID and MARKET, see the comments here
Fetching general recommendations:
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.TypeScript
Fetching recommendations for one specific product
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.TypeScript
Fetching recommendations for multiple products
Use this if you want to fetch recommendations for multiple products, e.g., for everything a user has in their cart.TypeScript
Got more questions? See the reference

