upsertEmailSubscription( )

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates or creates an email subscription for the requested email.

An email subscription is always returned in the response, regardless of whether it was updated or created.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Email Subscriptions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsUpsertEmailSubscriptionOptions
Returns
Return Type:Promise<UpsertEmailSubscriptionResponse>
Was this helpful?
Yes
No