This is a demo catalog. Create one for your own architecture with a single prompt.

Get started →

Place an order

The end-to-end customer purchase journey from cart checkout to confirmed order and downstream fulfilment.

Flow

Place an OrderFlowv1.0.0Place an OrderThe end-to-end journey from a customer checking out their cart to a confirmed order — spanning the Shopping and Ordering...Ownerordering-platformView flowOpen docs is the highest-value customer journey in the catalog. It spans ShoppingDomainv1.0.0ShoppingThe Shopping domain owns the customer's path to purchase — building a cart, applying promotions, and checking out. It co...Ownershopping-platformDiagramOpen docs, OrderingDomainv1.0.0OrderingThe Ordering domain turns a checked-out cart into a confirmed order. It orchestrates checkout — reserving inventory, aut...Ownerordering-platformDiagramOpen docs, PaymentsDomainv1.0.0PaymentsThe Payments domain takes payment for orders and processes refunds. It orchestrates authorization and capture through an...Ownerpayments-platformDiagramOpen docs and FulfilmentDomainv1.0.0FulfilmentThe Fulfilment domain gets a confirmed order to the customer. It reserves stock, picks and packs orders in the warehouse...Ownerfulfilment-platformDiagramOpen docs.

Flow map

Happy path

  1. The customer checks out through Cart APIServicev1.0.0Cart APIThe public-facing API for shopping carts. Handles commands to add and remove items and to check out, and publishes an ev...Publishescart-checked-out, calculate-discountSubscribesadd-item-to-cart, remove-item-from-cart +1APIsOpenAPIOwnershopping-platformDiagramRepositoryOpen docs using Checkout CartCommandv1.0.0Checkout CartCommand to check out a shopping cart. Ownershopping-platformSchemaDiagramOpen docs.
  2. Cart APIServicev1.0.0Cart APIThe public-facing API for shopping carts. Handles commands to add and remove items and to check out, and publishes an ev...Publishescart-checked-out, calculate-discountSubscribesadd-item-to-cart, remove-item-from-cart +1APIsOpenAPIOwnershopping-platformDiagramRepositoryOpen docs publishes Cart Checked OutEventv1.0.0Cart Checked OutPublished when a customer has checked out their cart. Ownershopping-platformSchemaDiagramOpen docs.
  3. Checkout APIServicev1.0.0Checkout APIThe entry point to the Checkout System. Receives the checkout command from the Shopping domain and starts the checkout f...Subscribescheckout-cartOwnerordering-platformDiagramRepositoryOpen docs and Checkout OrchestratorServicev1.0.0Checkout OrchestratorRuns the checkout saga. Reserves inventory, authorizes payment and creates the order, coordinating the steps that turn a...Publishesreserve-inventory, authorize-payment +1Ownerordering-platformDiagramRepositoryOpen docs start checkout orchestration.
  4. Checkout OrchestratorServicev1.0.0Checkout OrchestratorRuns the checkout saga. Reserves inventory, authorizes payment and creates the order, coordinating the steps that turn a...Publishesreserve-inventory, authorize-payment +1Ownerordering-platformDiagramRepositoryOpen docs reserves inventory with Reserve InventoryCommandv1.0.0Reserve InventoryCommand to reserve stock for the items in a checked-out cart. Ownerordering-platformSchemaDiagramOpen docs.
  5. It authorizes payment with Authorize PaymentCommandv1.0.0Authorize PaymentCommand to authorize payment for the total of a checked-out cart. Ownerordering-platformSchemaDiagramOpen docs.
  6. It creates the order with Create OrderCommandv1.0.0Create OrderCommand to create a new order from a checked-out cart. Ownerordering-platformSchemaDiagramOpen docs.
  7. Order ServiceServicev1.0.0Order ServiceThe system of record for orders. Creates and cancels orders, serves order lookups, and publishes events as orders move t...Publishesorder-created, order-confirmed +9Subscribescreate-order, cancel-order +2APIsAsyncAPIOwnerordering-platformDiagramRepositoryOpen docs publishes Order CreatedEventv1.0.0Order CreatedPublished when a new order has been created. Ownerordering-platformSchemaDiagramOpen docs and eventually Order CompletedEventv1.0.0Order CompletedPublished when an order has been fulfilled and completed. Ownerordering-platformSchemaDiagramOpen docs.
  8. Fulfilment consumes completed orders and prepares shipment.

Important boundaries

The flow crosses several ownership boundaries. Shopping owns the cart, Ordering owns the order, Payments owns payment outcome, and Fulfilment owns stock and shipping. Each handoff is a contract boundary.

Failure points

The two most important failure points are inventory and payment. If Reserve InventoryCommandv1.0.0Reserve InventoryCommand to reserve stock for the items in a checked-out cart. Ownerordering-platformSchemaDiagramOpen docs or Authorize PaymentCommandv1.0.0Authorize PaymentCommand to authorize payment for the total of a checked-out cart. Ownerordering-platformSchemaDiagramOpen docs fails, checkout must compensate and avoid creating an order.

Analyze checkout impact
Open in Cursor

Use Checkout SagaFlowv1.0.0Checkout SagaHow the Checkout Orchestrator turns a checked-out cart into an order — reserving inventory, authorizing payment and crea...Ownerordering-platformView flowOpen docs for the detailed orchestration view.