I have the beginnings of a piece of Parse cloud code that needs to sign up users who register for our app to a mailchimp list.
The code should see if the user has previously unsubscribed, and if they have, do nothing. Otherwise, it should sign them up and add them to an interest category for the specific app they are using. Each app has a lite and pro version, so if they upgrade from Lite -> Pro, we want to remove them from the Lite interest category in addition to adding them to the pro.
Also, if the user has already subscribed, we only want to add them to the interest group, without overwriting previous interest groups.
This should work for multiple apps, as we have multiple apps running on parse. We can pass you the interest category ID's from the front end.
In your cover letter please include the different scenarios the code should to cover, as mentioned above.