v2
latestOpenAPI 3.1.02026-08-01244220427.0 KBLoyalty
Get Customer Consents
Get Current Customer Consent State
Returns the most recent consent record for each consent type recorded for this customer under this merchant. Types with no records are omitted.
Path Parameters:
- programId: UUID of the loyalty program (merchant)
- customerId: UUID of the customer
Returns:
- List of the latest consent record per type, ordered by most recently recorded.
get/v2/loyalty/programs/{programId}/customers/{customerId}/consents
Path parameters
Example:5eb7cf5a86d9755df3a6c593
Example:5eb7cf5a86d9755df3a6c593
Headers
authorizationstring nullable
Response
Successful Response
{"stackTrail":"paths:/v2/loyalty/programs/{programId}/customers/{customerId}/consents:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}