Appearance
newsletterSubscribe
Definition
Subscribes to newsletter
Signature
ts
export async function newsletterSubscribe(
params: NewsletterSubscribeData,
contextInstance: ShopwareApiInstance = defaultInstance
): Promise<void>
Parameters
Name | Type | Description |
---|---|---|
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.