list_create_new_sub_list: Create list for one new list subscriber

Description Usage Arguments Value

View source: R/lists.R

Description

Create list for one new list subscriber. This is in prep for creating the JSON for multiple new subscribers in 'list_batch_sub()'

Usage

1
list_create_new_sub_list(api = NULL, list_id, new_sub)

Arguments

api

Character. Your private api key. If api is 'NULL', the environment variable 'Sys.getenv("mailchimp_api")' is used.

list_id

Character. The ID of a list. See 'get_lists()'.

new_sub

Data Frame (or tibble). Email column must be named 'email_address'. Merge fields must match merge fields in 'list_get_merge_fields()'

Value

A list


theoroe3/mailchimpr documentation built on Feb. 5, 2020, 8:50 p.m.