This endpoint will record the explicit consent of a customer in Rejoiner.

POST /customer/opt_in/

Payload Specification

Param NameRequiredTypeDescription
emailYesStringThe email address of the customer

📘

Any additional fields will be treated as strings and stored along with the record of explicit consent. This will allow you to store any additional information you find necessary regarding how the consent was received.

{
  "email": "[email protected]",
  "type": "accepts marketing checkbox",
  "otherInfo": "accepted marketing on checkout page"
}