Orders
Dual-role order listing and detail: customers see /store/orders, sellers see /vendor/orders with embedded customer + split-payment data. Includes PDF receipt generation and a seller cancel path that triggers a full refund.
Riverpod · Medusa Store + Vendor API · pdf
diagram · Orders — Riverpod · Medusa Store + Vendor API · pdf
4 layers 10 nodes 5 flows
01
LayerPresentation
UI · Controllers · Widgets
3 nodes
02
LayerDomain
Entities · Use Cases · Repository contracts
4 nodes
03
LayerData
Repo Impl · Remote / Local Data Sources
2 nodes
04
LayerDependency Injection
Routes · Bindings · Service Locator
1 node
cards are peers grouped by layer — pick a flow to trace real callsclick any node to drill in →