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.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Marketing consent to create.