Use this endpoint to update customer consent for marketing.
The Consent API Beta does not support batch/bulk imports.
Customers who have opted out cannot receive marketing messages.
Consent may impact attempts to send marketing campaigns to the identifier. If noted as opted-out, certain marketing service or channels may skip the identifier, even when qualified for the campaign.
This endpoint generates events of type consent and action opt-in or opt-out.