Order flow & proof

Attaching terms as a PDF to order confirmations

How to attach the approved terms version as a PDF artifact from the Public Delivery API to transactional order confirmations — versioned and traceable.

6 min read·TermShelf editorial

Frequently asked questions

How do I attach the terms as a PDF to an order confirmation?
When generating the confirmation, the shop or mail system fetches the PDF artifact of the approved terms via the Public Delivery API and attaches it. A specific version can be referenced via ?version=N or ?effective_at=<ISO-8601>.
Does it stay traceable which terms version was attached?
Yes, provided the version number used is stored with the order. Since every publication is a dated, immutable snapshot, the same version can be retrieved again later.

Try TermShelf

Structures, versions, and publications in one workflow.

Related guides

Order flow & proof

Embedding legal texts in Shopware order confirmations

How Shopware storefronts and order-confirmation emails pull terms, the withdrawal notice and privacy information as a versioned HTML, JSON or PDF artifact from TermShelf — instead of maintaining full texts across sales channels and Twig mail templates.

8 min read
Attaching terms as a PDF to order confirmations — TermShelf