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
23 properties
A schema representing an order placed by a customer
orderIdstring
requiredUnique identifier for the order
customerobject
requiredInformation about the customer placing the order
itemsarray[object]
requiredList of items in the order
shippingAddressobject
requiredAddress where the order will be shipped
paymentobject
requiredPayment information for the order
orderDatestring<date-time>
requiredDate when the order was placed
statusstring
requiredCurrent status of the order
Allowed values:
Pending Processing Shipped Delivered Cancelled