Overview
The Order Placement Command is a versatile and robust system designed to streamline the process of placing an order. This command takes care of all the essential details needed to complete a purchase, ensuring a smooth and efficient transaction from start to finish.
Architecture diagram
Schema
Event-driven architecture documentation: FlowMart
A schema representing an order placed by a customer
orderId string
required Unique identifier for the order
customer object
required Information about the customer placing the order
items array [object]
required List of items in the order
shippingAddress object
required Address where the order will be shipped
payment object
required Payment information for the order
orderDate string <date-time>
required Date when the order was placed
status string
required Current status of the order
Allowed values:
Pending
Processing
Shipped
Delivered
Cancelled