Wishlist
Add wishlist capabilities to your commerce application.
Features
- Allow customers to manage items in their wishlist.
Prerequisites
How to Install
1. Run the following command in the directory of the Medusa backend:
1npm install medusa-plugin-wishlist
2. In
add the following at the end of theCopy to clipboardmedusa-config.js
array:Copy to clipboardplugins
1234const plugins = [// ...`medusa-plugin-wishlist`]
Test the Plugin
1. Run the following command in the directory of the Medusa backend to run the backend:
1npm run start
2. Retrieve a customer's wishlist using the endpoint
, whereCopy to clipboard/wishlist/:token
is the customer's token.Copy to clipboard:token