Legal
Get Legal Status
Check whether the authenticated customer must accept general or contract-specific terms and conditions before using the portal.
GET
Get Legal Status
Get Legal Status
Returns the legal terms acceptance status for the current customer. The portal checks this on every authenticated session bootstrap. IfMustAgreeToTerms is true, a modal is shown with the full terms text. It blocks the portal unless CanPostponeTerms is true: then the location’s grace period (setting Legal.TermsGracePeriodDays) is still running, the modal says how long is left, and Remind me later closes it for the rest of the browser tab.
Authentication
Requires a valid customer bearer token.Response
true when the customer has one or more outstanding terms to accept. Show the acceptance modal when this is true.ISO 8601 UTC end of the grace period for the outstanding terms: the earliest one when several documents are pending.
null when nothing is pending or the location has no grace period, in which case the terms must be accepted now.true while the grace period is running, so the customer may keep using the portal and accept later. Once it is false with MustAgreeToTerms still true, the modal blocks the portal until the terms are accepted.Array of contract-specific terms the customer must accept. Present only when there are pending contract terms. Each entry contains: