Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

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

id
string
required
Minimum string length: 1

Body

application/json
scope
enum<string>
required
Available options:
marketing_email,
marketing_sms,
loyalty_profiling,
analytics,
data_sharing
status
enum<string>
required
Available options:
granted,
withdrawn
source
enum<string>
required
Available options:
counter,
kiosk,
web,
phone

Response

The consent record after the decision was appended.

The consent record after the decision was appended.

subjectId
string
required
Minimum string length: 1
entries
object[]
required
history
object[]
required