Latest Recommendation

If you want to fetch the latest recommendation of a certain session, without it recalculating again, you can call:
https://style-uat.pttrns.ai/eyewear-api/#/Sessions/get_sessions__sessionId__latest_recommendation

Here the sessionId is the ID you used before when calculating the recommendations and the locationId a filter to only return the active products for that location the output is the same as the output of the glasses recommendation. If you provide glasses as categoryId, the latest glasses recommendation will be returned. For the latest sunglasses recommendation provide ‘sunglasses’ as categoryId. Not providing this value will default to returning the latest glasses recommendation.

The same errors that you can receive from the recommendation call can be thrown here as well.