stack

Home > @infiniteobjects/klaviyo-service > KlaviyoService > addProfileToList

KlaviyoService.addProfileToList() method

Adds the given profile to a list.

In Klaviyo’s world “adding” means that the profile will not receive an email.

Signature:

addProfileToList(list: string, profile: KlaviyoProfile): Promise<KlaviyoProfileBase>;

Parameters

Parameter Type Description
list string ListId to add the profile to.
profile KlaviyoProfile Klaviyo Profile see: KlaviyoProfile

Returns:

Promise<KlaviyoProfileBase>

Remarks

This should be used when we silently want to add a profile to a list. ex: Artist registry