Description Usage Arguments Value Examples
Batch add/remove list members to static segment
1 2 3 |
segment_id |
Id of segment. |
members_to_add |
A vector of emails to be used for a static segment. Any emails provided that are not present on the list will be ignored. |
members_to_remove |
A vector of emails to be used for a static segment. Any emails provided that are not present on the list will be ignored. |
apikey |
API key for mailchimp account |
user |
User to use in authentication. Can be any string you like. Defaults to "anystring". |
... |
Query string parameters. See available parameters under CREATE here: API documentation. |
Response body parameters. See response parameters under CREATE here: API documentation.
1 2 3 | **## Not run:**
post_segment_members <- post_segment_members(list_id = "xxxxxxxxxx", members_to_add = c("e@mail1.com", "e@mail2.com"), members_to_remove = c("e@mail3.com", "e@mail4.com"), apikey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-usxx")
## End(**Not run**)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.