Skip to main content

mailchimp@0.3.1

Adaptor

Adaptor.execute

Kind: static class of Adaptor

new exports.execute(operations)

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

ParamTypeDescription
operationsOperationsOperations to be performed.

Example

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

Adaptor.upsertMembers

Kind: static class of Adaptor

new exports.upsertMembers(params)

Add members to a particular audience

ParamTypeDescription
paramsobjecta listId, users, and options

Example

upsertMembers(params)

Adaptor.tagMembers

Kind: static class of Adaptor

new exports.tagMembers(params)

Tag members with a particular tag

ParamTypeDescription
paramsobjecta tagId, members, and a list

Example

tagMembers(params)

Adaptor.startBatch

Kind: static class of Adaptor

new exports.startBatch(params)

Start a batch with a list of operations.

ParamTypeDescription
paramsobjectoperations batch job

Example

startBatch(params)