Orders
The Orders domain handles all operations related to customer orders, from creation to fulfillment. This documentation provides an overview of the events and services involved in the Orders domain, helping developers and stakeholders understand the event-driven architecture.
Please ensure all services are updated to the latest version for compatibility and performance improvements.
The Orders domain handles all operations related to customer orders, from creation to fulfillment. This domain is part of the larger E-Commerce E-Commerce Domain v1.0.0 The E-Commerce domain is the core business domain of FlowMart, our modern digital marketplace. This domain orchestrates ... Owner dboyne , full-stack Map Repo View docs domain and includes key services like Orders Service Orders Service Service v0.0.3 Service that handles orders Publishes OrderAmended , OrderCancelled +1 Subscribes InventoryAdjusted APIs AsyncAPI , OpenAPI , OpenAPI Owner order-management Map Repo View docs , Inventory Service (deprecated) Deprecated Inventory Service Service v0.0.2 Service that handles the inventory Publishes InventoryAdjusted , OutOfStock Subscribes UserSignedUp, OrderConfirmed +4 Owner order-management Map Repo View docs , and Notifications Notifications Service v0.0.2 Service that handles notifications across multiple channels (email, SMS, push) Publishes NotificationSent Subscribes InventoryAdjusted , PaymentProcessed +3 Owner order-management Map Repo View docs .
Core entities include Order Order Entity v1.0.0 Represents a customer's request to purchase products or services. View docs , OrderItem OrderItem Entity v1.0.0 Represents a single item within a customer's order. View docs , and Customer Customer Entity v1.0.0 Represents an individual or organization that places orders. View docs . This documentation provides an overview of the events and services involved, helping developers and stakeholders understand the event-driven architecture.
Architecture for the Orders domain
Entity Map
This is an entity map for the Orders domain. It shows the entities and their relationships with external entities in this domain.
Messages for this domain
Sends messages (11)
Quickly find the message you need by searching for the name, type, or summary.Showing 1 to 4 of 11 results
Receives messages (10)
Quickly find the message you need by searching for the name, type, or summary.Showing 1 to 4 of 10 results
Order example (sequence diagram)
Loading graph...
Flows
Cancel Subscription flow
The User Cancels Subscription User Cancels Subscription Flow v1.0.0 Flow for when a user has cancelled a subscription Owner subscriptions-management View flow View docs documents the process when a user cancels their subscription. This flow involves the Subscription Service Subscription Service Service v0.0.1 Service that handles subscriptions Publishes UserSubscriptionStarted , UserSubscriptionCancelled Subscribes PaymentProcessed Owner subscriptions-management Map Repo View docs and Billing Service Billing Service Service v0.0.1 Manages billing cycles, invoice generation, and payment scheduling for subscriptions Publishes InvoiceGenerated , SubscriptionPaymentDue Subscribes PaymentProcessed APIs GraphQL Owner dboyne Map Repo View docs .
Payment processing flow
The Payment Flow for customers Payment Flow for customers Flow v1.0.0 Business flow for processing payments in an e-commerce platform Owner dboyne View flow View docs documents the payment process within the order domain, utilizing the Payment Service Payment Service Service v0.0.1 Service that handles payments Publishes PaymentProcessed Subscribes PaymentInitiated Owner dboyne Map Repo View docs and Fraud Detection Service Fraud Detection Service Service v0.0.1 Analyzes payment transactions for fraudulent activity and risk assessment Publishes FraudCheckCompleted , FraudDetected +1 Subscribes PaymentInitiated Owner dboyne Map Repo View docs .