Skip to main content
POST
Enroll a consumer into the perks program (accept CGU).

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-version
string
default:2.0.0
required

Body

application/json
id
string
required
Required string length: 2 - 100
Pattern: ^[a-zA-Z0-9_-]+$
Example:

"consumer-12345"

extra_consents
enum<string>[]
Available options:
BASIC,
TRANSACTION_TRIGGERS,
TARGETING,
STATISTICS,
SMART_RANKING,
WEB_ANALYTICS
removed_consents
enum<string>[]
Available options:
BASIC,
TRANSACTION_TRIGGERS,
TARGETING,
STATISTICS,
SMART_RANKING,
WEB_ANALYTICS

Response

Successful Response

id
string
required
Example:

"consumer-12345"