Record Customer Consents
Record Customer Consents
Creates an immutable consent record for each consent decision in the request. Captures IP address and user-agent at the time of recording for evidentiary purposes.
Consent records are append-only — each call adds new records; existing records are never modified. Use GET to retrieve the current state per consent type.
Path Parameters:
programId: UUID of the loyalty program (merchant)customerId: UUID of the customer
Request Body:
consents: List of consent decisions (consentType,granted,method)policyVersion: Version of the policy document accepted
Returns:
- 201 Created with the list of newly created consent records.
Authorizations
JWT access token obtained from POST /v2/token.
Headers
Path Parameters
24^[0-9a-f]{24}$"5eb7cf5a86d9755df3a6c593"
24^[0-9a-f]{24}$"5eb7cf5a86d9755df3a6c593"
Body
Request body for POST /customers/{id}/consents.
Attributes: consents: One or more consent decisions to record. policyVersion: Version of the policy document the customer is consenting to.
Response
Successful Response
