Legal texts
Update legal texts
/ v1 / legal Saves legal texts of the shop as HTML. Allowed tags: h2 to h5, p, ul, li, strong, a, br and hr.
- Only the texts that you send change. An empty text removes the document.
- Buyers see the change at once.
Start from GET /v1/legal/templates/{document} and fill in the real data of the account. Never invent it. GET /v1/legal shows which documents the country of the account needs.
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Body application/json
-
terms_htmlstringTerms of service.
max length
200000 -
cancellation_htmlstringEU: cancellation policy. Other countries: return and refund policy.
max length
200000 -
privacy_htmlstringPrivacy policy.
max length
200000 -
imprint_htmlstringGermany, Austria, Switzerland: Impressum. Other countries: contact information.
max length
200000 -
attach_terms_to_order_emailsbooleanAttach the terms and the cancellation policy as a PDF to every order e-mail.
Response
Fields of the answer with status 200. Errors always have the same format, see Errors.
-
countrystringSeller country, like DE. It decides which documents the shop needs.
-
documentsarray of objectThe legal documents for the seller country.
Show 4 fields Hide fields
-
documentstringterms, cancellation, privacy or imprint.
Allowed values:
termscancellationprivacyimprint -
titlestringName of the document for the seller country.
-
filledbooleantrue = the text is not empty.
-
htmlstringThe text as HTML.
-
-
attach_terms_to_order_emailsbooleantrue = the terms and the cancellation policy go as a PDF with every order e-mail.
-
admin_urlstring<uri>The page in the Tentary app.
-
shop_urlstring<uri>The terms in the shop.