Passer au contenu principal

mailchimp@0.3.4

Functions

execute(operations)Operation

Execute a sequence of operations. Wraps @openfn/language-common/execute, and prepends initial state for http.

upsertMembers(params)Operation

Add members to a particular audience

tagMembers(params)Operation

Tag members with a particular tag

startBatch(params)Operation

Start a batch with a list of operations.

execute(operations) ⇒ Operation

Execute a sequence of operations. Wraps @openfn/language-common/execute, and prepends initial state for http.

Kind: global function

ParamTypeDescription
operationsOperationsOperations to be performed.

Example

execute(
create('foo'),
delete('bar')
)(state)

upsertMembers(params) ⇒ Operation

Add members to a particular audience

Kind: global function

ParamTypeDescription
paramsobjecta listId, users, and options

Example

upsertMembers(params)

tagMembers(params) ⇒ Operation

Tag members with a particular tag

Kind: global function

ParamTypeDescription
paramsobjecta tagId, members, and a list

Example

tagMembers(params)

startBatch(params) ⇒ Operation

Start a batch with a list of operations.

Kind: global function

ParamTypeDescription
paramsobjectoperations batch job

Example

startBatch(params)