It'd be great to improve the Wishlist integration, the same way we did with carts...

Basically, instead of using the default JSON API endpoint which is just CRUD, we'd need the endpoint to call the WishlistManager... (WishlistManager::addEntity()) that is. That service will handle combining the wishlist items.

Prior to calling it, we'd need to fetch the default wishlist for the current user, and create if if it does not exist...

List of issues:

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Issue summary: View changes
jsacksick’s picture

Title: WIshlist integration » [META] WIshlist integration
jsacksick’s picture

Issue summary: View changes
introfini’s picture

What is the recommended way to remove an item, should be using the default JSON API or should that feature be added?

jsacksick’s picture

Issue summary: View changes
jsacksick’s picture

@introfini: You should be using the endpoint defined by #3122732: Create an endpoint for removing an item from a Wishlist.

mglaman’s picture

Title: [META] WIshlist integration » [META] Wishlist integration