Deutsch DE
API-Referenz
API-Referenz

Rechtstexte

Update legal texts

PATCH / 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.

Ändert sofort MCP-Werkzeug update_legal_texts

Autorisierung

  • Authorization string Header erforderlich

    Bearer tnt_… · A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung

Body application/json

  • terms_html string

    Terms of service.

    max. Länge 200000

  • cancellation_html string

    EU: cancellation policy. Other countries: return and refund policy.

    max. Länge 200000

  • privacy_html string

    Privacy policy.

    max. Länge 200000

  • imprint_html string

    Germany, Austria, Switzerland: Impressum. Other countries: contact information.

    max. Länge 200000

  • attach_terms_to_order_emails boolean

    Attach the terms and the cancellation policy as a PDF to every order e-mail.

Antwort

Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.

  • country string

    Seller country, like DE. It decides which documents the shop needs.

  • documents array of object

    The legal documents for the seller country.

    4 Felder anzeigen Felder ausblenden
    • document string

      terms, cancellation, privacy or imprint.

      Mögliche Werte: termscancellationprivacyimprint

    • title string

      Name of the document for the seller country.

    • filled boolean

      true = the text is not empty.

    • html string

      The text as HTML.

  • attach_terms_to_order_emails boolean

    true = the terms and the cancellation policy go as a PDF with every order e-mail.

  • admin_url string<uri>

    The page in the Tentary app.

  • shop_url string<uri>

    The terms in the shop.

Tippe, um zu suchen.