Get a customer's consent record
Returns the customer’s granular consent standing: entries is the CURRENT decision per scope (marketing_email, marketing_sms, loyalty_profiling, analytics, data_sharing), history the full append-only audit trail. Check this before any marketing action — the coarse optIn flag on the customer record is not the same thing. This NEVER 404s: an empty record (200) means either a subject who never decided OR a customer id that does not exist at all — the two are indistinguishable here, so confirm the id with getCustomer before reading an empty record as consent data.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Path Parameters
1
