Skip to content

SubscriptionsInput

SubscriptionsInput = Omit<NewsletterSubscriptionsRequestBody, "userId">

What client.newsletters.replace takes. There is no userId: a browser cannot name a user, only the session cookie can. Without a session, email names the subscriber, and an address not seen before creates a user.