I have a business need where mailing lists need to be created and deleted programatically. For example, creating a mailing list specifically for an event that’s created by authors, and deleting the mailing list if this event is deleted. As far as I’m aware from my investigations, the only publicly available methods related to mailing lists are for retrieving them, and all methods for actually managing them are within internal classes.
Would it be possible to add methods for managing mailing lists to the public NewsletterStudioService? Or is there any way to accomplish this currently?
I’ve been gradually adding a public API surface, e.g. for Campaigns, but you are right in that the current API for Mailing Lists is internal.
Which version of Umbraco and the package are you planning to use?
There are a couple of ways to work with subscriptions using the INewsletterStudioService, but you’d probably need some more public operations to be able to support your use case.
I would be happy to work with you to ensure that you can do what you need!
If you could reach out to me over email we could jump into the details?