Mailchimp
Manage newsletter subscriptions in your commerce application with Mailchimp.
Features
- Allow customers to subscribe to your newsletter.
- Provides custom services and endpoints to give developers flexibility in how to implement newsletter subscription.
Prerequisites
How to Install
1. Run the following command in the directory of the Medusa backend:
2. Set the following environment variables in
:Copy to clipboard.env
3. In
add the following at the end of theCopy to clipboardmedusa-config.js
array:Copy to clipboardplugins
Test the Plugin
1. Run the following command in the directory of the Medusa backend to run the backend:
2. Use the POST or PUT
endpoint or theCopy to clipboard/mailchimp/subscribe
to subscribe to the newsletter.Copy to clipboardMailchimpService
Additional Resources

Build your own plugins
Develop your own plugins with our API to speed up your processes.
Make your plugin available via npm for it to be shared in our Plugin Library with the broader Medusa community.
.png)