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.
Newly created marketing consent.
Marketing consent confirmation link.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.