We are trying to rewrite Mailchimp integration using API v3.0
In version 2.0, they have a method for adding members to static segments ( https://apidocs.mailchimp.com/api/2.0/lists/static-segment-members-add.php )
This method cannot be found in the new API or in any replacement. A possible solution would be to create a new segment each time a new campaign is launched, but also cannot find a sample request for this.
If you have other ideas for a workaround, please suggest. Any help is appreciated.
v3.0 RESTful, : POST to /3.0/lists/{list_id}/segments/{static_segment_id}/members , .
POST
/3.0/lists/{list_id}/segments/{static_segment_id}/members
{"name":"Test-2", "options":{ "match":"all", "conditions":[ {"condition_type":"EmailAddress","field":"merge0","op":"is","value":"email-1"}, {"condition_type":"EmailAddress","field":"merge0","op":"is","value":"email-2"}] } }
, : MailChimp API v3