C4 architecture

One ordering architecture, four views

Keep the same Ordering platform, people and systems as you move from the ecosystem into the Web API.

The ordering ecosystem

Begin with the systems and people around order processing.

When is this useful?

Use Landscape to place the ordering platform in its wider environment.

Full C4 · Landscape example
The original editable example. Your own edits may differ. Background on Wikipedia

Read the example

This walkthrough describes the original catalogue example; your own document may differ.

See the wider environment

Customer uses Ordering platform. Inventory system, Payment provider, Shipping service, Analytics platform and Warehouse team establish the wider ecosystem.

Separate payment from fulfilment

Payment provider reports payment outcomes to Ordering platform. Ordering reserves stock and releases paid orders to Inventory system, which books deliveries with Shipping service. A failed payment does not release the order for fulfilment; Payment does not notify Shipping directly. The compact preview omits warehouse and shipping systems.

Keep the level broad

Each system has its own responsibility. This view does not expose applications or components inside Ordering platform.

Open C4 · Landscape example

Make one small change

Open Landscape, inspect a system responsibility, then switch to Context in the same document.

These four views belong to the same Ordering project. Use the editor sidebar to switch levels. For publication, use View → Document Views to assemble a briefing, then File → Advanced exports → Export Document View.

Official C4 diagram guidance ↗