LegalContentAudits
Create LegalContentAudit
Create a new LegalContentAudit record.
POST
Create LegalContentAudit
A LegalContentAudit records when a customer has accepted or acknowledged legal content such as terms and conditions, privacy policies, or cookie policies.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the LegalContentAudit-Create role.Enums
eLegalContentType — LegalContentType values
eLegalContentType — LegalContentType values
| Value | Name |
|---|---|
| 1 | GeneralTerms |
| 2 | VisitorTerms |
| 3 | CheckoutTerms |
| 4 | PrivacyPolicy |
| 5 | CookiesPolicy |
| 6 | TariffTerms |
Request Body
Required Fields
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the legalcontentaudit was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create LegalContentAudit