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.

Domain Subdomain
Warning

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.

Contact the team

Any questions? Feel free to contact the owners

4 services

This domain contains the following services.

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.
NameVersionTypeSummaryChannels
Inventory adjusted
v1.0.0eventIndicates a change in inventory level
-
Inventory out of stock
v0.0.4eventIndicates inventory is out of stock
-
Order amended
v0.0.1eventIndicates an order has been changed
-
Order cancelled
v0.0.1eventIndicates an order has been canceled
-

Receives messages (10)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummaryChannels
Order confirmed
v0.0.1eventIndicates an order has been confirmed
-
Order amended
v0.0.1eventIndicates an order has been changed
-
Update inventory
v0.0.3commandCommand that will update a given inventory item
-
Add inventory
v0.0.3commandCommand that will add item to a given inventory id
-

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 .

Warning

<ResourceGroupTable/> cannot find any resources in your catalog for the resource group with id related-resources.

Warning

<ResourceGroupTable/> cannot find the resource group with id related-resources. Please make sure the id is correct and the resource group is defined in this domain.
Event-driven architecture documentation: FlowMart