Skip to content
On this page

newsletterSubscribe

Definition

Subscribes to newsletter

Signature

ts
export async function newsletterSubscribe(
  params: NewsletterSubscribeData,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<void> 

Parameters

NameTypeDescription
params
NewsletterSubscribeData
newsletter subscribe data
contextInstance
ShopwareApiInstance
instance of the api client (by default it's an Axios instance)

Return type

ts
Promise<void>

Usage example

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz

newsletterSubscribe has loaded