Update customer's consents

Use /customers/:customerId/consents to set or update customer's consents.
This endpoint should be used just after registration (for checkout) or to enable consents management (myAccount).
There are two types of consents: required terms and conditions (Cleeng terms and your terms), and not required marketing consents (if enabled you).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Errors

HTTP Status codeError codeMessage
401AUTH0001Missing required JWT
401AUTH0002Invalid JWT token
500SXXXX (X - number)Internal Server Error
Path Params
string
required
Body Params
consents
array of objects
required

Array that contains customers consent name, version and state (accepted/declined)

consents*
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json