Fetch customer's consents

Use /customers/:customerId/consents to fetch customer's consents. Display fetched consents to enable consents management.
This endpoint shows actual status of customer's consents. It return useful information like: status (accepted/declined), is it required, is it the actual version of consents, the label for it.

📘

Note

needUpdate is true if customer didn't accept the terms and conditions or there is a new version of terms or marketing consents.

Errors

HTTP Status codeError codeMessage
401AUTH0001Missing required JWT
401AUTH0002Invalid JWT token
500SXXXX (X - number)Internal Server Error
Language
Credentials
Header
Click Try It! to start a request and see the response here!