list_create: Create a list/audience

Description Usage Arguments

View source: R/lists.R

Description

Create a list/audience.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
list_create(
  api = NULL,
  name,
  company,
  address1,
  address2 = "",
  city,
  state,
  zip,
  country,
  phone = "",
  permission_reminder,
  from_name,
  from_email,
  subject = "",
  language = "en",
  email_type_option = FALSE
)

Arguments

api

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

name

Name of the list.

company

Character. Company name associated with the list.

address1

Character. First line of the address of the associated company.

address2

Character. Second line of the address of the associated company.

city

Character. City of the associated company.

state

Character. State of the associated company.

zip

Character. Zip/post code of the associated company.

country

Character Country of the associated company.

phone

Character. Phone number of the associated company.

permission_reminder

Character. Permission reminder for subscribers of the list.

from_name

Character. Default from-name for emails to subscribers of the list.

from_email

Character. Default from-email for emails to subscribers of the list.

subject

Character. Default from-subject for emails to subscribers of the list.

language

Character. Default language for emails to subscribers of the list.

email_type_option

Boolean. See mailchimp api reference.


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