Place Order

Command that will place an order

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
required

Unique identifier for the order

customerobject
required

Information about the customer placing the order

itemsarray[object]
required

List of items in the order

shippingAddressobject
required

Address where the order will be shipped

paymentobject
required

Payment information for the order

orderDatestring<date-time>
required

Date when the order was placed

statusstring
required

Current status of the order

Allowed values: Pending Processing Shipped Delivered Cancelled