Sales data modeling
This section describes the data modeling in the Sales area.
Primary entities in the Sales area are Order, Payment, and Shipment.
An "Order" in Litium has many associated entities. Fetching the "Order" from OrderService does not fetch some related information about an order: such as Payments, Shipments and order returns. To get a complete picture of an order in Litium, use the OrderOverviewService to fetch the OrderOverview of an order.
Sales Orders contain the information about the items ordered by a buyer, and other information required to fulfill the order, such as shipping and billing addresses and customer info.
This section details the data modelling of payments in Litium Sales area.
An overview of shipment data modeling
Cart contains the order information before an order is placed.
An order may contain one or more discounts, represented as order rows of type Discount.