Medusa plugin for syncing IT-Recht Kanzlei legal documents and exposing them to storefronts.
is a Medusa v2 plugin that keeps your storefront legal pages in sync with updates from IT-Recht Kanzlei (), a German legal content provider for ecommerce shops.
In practice, the plugin accepts IT-Recht Kanzlei XML updates, stores the latest document version per sales channel and language, and serves those documents through a store API so your frontend can always show current legal texts (for example terms and conditions, privacy policy, imprint, and withdrawal information).
Maintained by at .
pnpm add @sadu-dev/medusa-plugin-itrk
Then register the plugin in your Medusa backend's file at the project root ():
import { defineConfig } from "@medusajs/framework/utils"import type { ItrkPluginOptionsInput } from "@sadu-dev/medusa-plugin-itrk/types"export default defineConfig({plugins: [{resolve: "@sadu-dev/medusa-plugin-itrk",options: {token: "your-itrk-token",channels: [{salesChannelId: "sc_...",accountId: "account-1",accountName: "Main Store",languages: ["de", "en"],countries: ["DE", "AT"],targetUrls: {agb: "https://store.example/legal/agb",datenschutz: "https://store.example/legal/privacy",impressum: "https://store.example/legal/imprint",widerruf: "https://store.example/legal/withdrawal",},},],} satisfies ItrkPluginOptionsInput,},],})
is derived automatically from the installed version.
Choose the value yourself and enter the same value in both Medusa and IT-Recht Kanzlei. IT-Recht Kanzlei does not issue or generate this token for you.
When configuring the API URL in IT-Recht Kanzlei, enter only your Medusa backend base URL.
Do not append manually.
The package exports , , and .
pnpm buildpnpm lintpnpm test:unit
The package is built with Medusa's plugin build command before publish:
pnpm buildnpm publish
The published package contains the built output and package metadata only.
MIT