C4Context
title System Context for a Global Retail Platform
Person(shopper, "Shopper", "Browses and buys")
Person(agent, "Support Agent", "Handles customer cases")
Person_Ext(partner, "Partner Seller", "Lists products")
Enterprise_Boundary(co, "Retail Company") {
System(shop, "Storefront", "Web and mobile shopping")
System(oms, "Order Management", "Orders and fulfilment")
System(crm, "CRM", "Customer records")
SystemDb(dw, "Data Warehouse", "Analytics store")
System_Boundary(fin, "Finance") {
System(billing, "Billing", "Invoices")
System(ledger, "Ledger", "Accounting")
}
}
System_Ext(pay, "Payment Provider", "Cards and wallets")
System_Ext(ship, "Carrier API", "Shipping labels")
System_Ext(mail, "Email Service", "Transactional mail")
SystemQueue_Ext(tax, "Tax Service", "Tax calculation")
Rel(shopper, shop, "Uses", "HTTPS")
Rel(agent, crm, "Manages cases in")
Rel(partner, shop, "Lists products via", "API")
BiRel(shop, oms, "Places and tracks orders")
Rel(oms, pay, "Charges", "HTTPS")
Rel(oms, ship, "Creates labels", "REST")
Rel(oms, billing, "Sends orders to")
Rel(billing, ledger, "Posts entries")
Rel(billing, tax, "Requests tax")
Rel(shop, mail, "Sends mail via")
Rel(crm, dw, "Exports to")
Rel(oms, dw, "Exports to")
Rel(ledger, dw, "Exports to")