Opt In Customer to Campaign
Opts a customer in to an active campaign for which they are eligible. An opt-in period requires the customer to indicate that they want to participate in a campaign before receiving any of the outcomes or messaging connected with the campaign. When a customer opts in, their status is updated and they are then allowed to earn the specified reward.
Sequence Diagram
See the overall flow for this task below.

Take Note
To enable "opt-ins," a campaign must be created with optin_required
set to "true": optin_required=true
.