Actions overview
Actions
NewsletterSubscribe
This action subscribes a customer to the newsletter. After successful subscription, the customer receives a confirmation email with a double opt-in link. Usage exampleCan be used on a newsletter subscription page where customers can enter their email address and optionally select one or more target groups. Parameters
Error codes
Related modules, variables & methods
Example showing how a customer selects their email address and optionally target groups to subscribe to the newsletter, including success output after the subscription.
NewsletterSubscribeConfirm
This action confirms the newsletter subscription via double opt-in. After subscribing, the customer receives an email with a confirmation link that triggers this action. Usage exampleCan be used on the confirmation page to which the customer is redirected after clicking the opt-in link in the subscription email. Error codes
Related modules, variables & methods
Example showing how a success message is displayed after successful confirmation and an error notice appears in the event of an invalid token.
NewsletterUnsubscribe
This action unsubscribes a customer from the newsletter. The customer specifies their email address and can optionally deselect individual target groups. Usage exampleCan be used on the unsubscribe page, where customers can enter their email address and unsubscribe from individual or all newsletter target groups. Parameters
Error codes
Related modules, variables & methods
Example showing how a customer enters their email address and unsubscribes from individual target groups, including success output.
NewsletterUnsubscribeConfirm
This action confirms the newsletter unsubscription via double opt-in. After unsubscribing, the customer receives an email with a confirmation link that triggers this action. Usage exampleCan be used on the confirmation page to which the customer is redirected after clicking the opt-in link in the unsubscription email. Error codes
Related modules, variables & methods
Example showing how a success message is displayed after successful confirmation of the unsubscription and an error notice appears in the event of an invalid token.
