Product recommendations for multiple ids

Hi there,

To implement upsell products in the cart, I would like to fetch the recommendations API with multiple product ids instead of one. Could this be added to the roadmap?

If this is not what the product recommendations API is intended for, how would you go about this instead? Have a custom API? Show upsells in checkout? I’m open for ideas.

Thanks!

Wiebe

You could use the Storefront API and make multiple calls in one go, then simply omit any duplicates once all requests are completed. Otherwise you’d want to look at a third party to get these.

That works for now, thanks!

Still, having an API for multiple products would make this more efficient ofc.