Retrieve Favorites

A user’s list of favorites can be retrieved using:
https://style-uat.pttrns.ai/eyewear-api/#/Sessions/get_sessions__sessionId__favorites
eg: GET /sessions/:sessionId/favorites?locationId=abc&categoryId=glasses

The input is the sessionId found in the path, which is the ID of that session as used before and the locationId can be used as query parameter to filter the results to contain only the active products of that location. If you provide glasses as categoryId, the favorited glasses will be returned. For the favorited sunglasses provide ‘sunglasses’ as categoryId. Not providing this value will default to returning favorited glasses.

The output is a list of SKUs for whom we received feedback. All SKUs that received feedback are returned, over all recommendations of that session.