This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a confirmed marketing consent with a state
of CONFIRMED
.
Required fields:
details.type
.details.email
OR details.phone
.lastConfirmationActivity
.To create a marketing consent with a different state, use Upsert Marketing Consent, or Bulk Upsert Marketing Consent.
You can only call this method when authenticated as a Wix app or Wix user identity.
Marketing consent to create.