POST /v3/recommend/products so you don’t build the request yourself. It ships inside the Depict UI packages.
Install
Import
Add the import at the top of the file where you fetch recommendations:Fetch recommendations
fetchDepictRecommendations takes an options object and returns a promise of an array of displays (product data). Every option is listed in the reference.
Where to find your merchant and market ids: see Set up DPC.
TypeScript

