Order Management
management order
Orders can be created, validated, confirmed, modified, tracked and closed through their full lifecycle.
Maintains the authoritative lifecycle of every customer order from creation through closure. Manages order states (created, confirmed, in-fulfilment, shipped, delivered, closed, cancelled), supports modification and cancellation within policy constraints, and provides the order record that fulfilment, payment capture, and customer service capabilities depend upon.
Overview
ID
order-management
Domain
order
Classification
management
Actors
customer, customer-service-agent, system
Services
7
Events
7
Processes
11
Applications
2
Services
ID
Name
Description
create-order
Create Order
Creates a new order record from a checked-out basket, assigning an order ID and setting the initial order state.
validate-order
Validate Order
Validates an order against business rules (stock, pricing, address, payment) before confirmation.
confirm-order
Confirm Order
Confirms a validated order, transitioning it to confirmed state and triggering fulfilment initiation.
modify-order
Modify Order
Applies an allowed modification to an in-flight order (quantity change, address update) within policy constraints.
cancel-order
Cancel Order
Cancels an order, triggering inventory release, payment void or refund, and customer notification.
track-order
Track Order
Returns the current fulfilment status and tracking events for an order or shipment.
close-order
Close Order
Closes a fully fulfilled and settled order, archiving it and releasing any residual holds.
Events Emitted
Event
Type
Subject
Description
basket-converted
``
The basket was successfully converted into a confirmed order.
order-created
``
A new order was created from a converted basket or direct entry.
order-validated
``
The order passed all validation checks covering stock, payment, and address.
order-confirmed
``
The order was confirmed and acknowledged; fulfillment can begin.
order-modified
``
One or more order lines or attributes were updated after order creation.
order-cancelled
``
The order was cancelled before fulfillment completion.
order-closed
``
The order lifecycle reached its terminal closed state after all obligations were met.
Processes
Applications
Application
Name
Tier
oms
OMS
ecommerce-platform
eCommerce Platform
Lifecycle
Metrics & KPIs
Touchpoints
Validation Rules
Rule
Type
Applies To
Severity
checkout-requires-active-basket
pre-condition
checkout
invariant
checkout-requires-active-product
pre-condition
checkout
invariant
bopis-requires-store-inventory
pre-condition
bopis
invariant
bopis-requires-channel
pre-condition
bopis
invariant
boris-requires-order-with-items
pre-condition
boris
invariant
return-anywhere-requires-return-window
pre-condition
return-anywhere
constraint
exchange-anywhere-requires-closed-order
pre-condition
exchange-anywhere
invariant
endless-aisle-requires-active-channel
pre-condition
endless-aisle
invariant
retail-media-requires-consent-aware-audience
pre-condition
retail-media-attribution
invariant
close-order-requires-fulfillment-complete
pre-condition
close-order
invariant
checkout-creates-order
post-condition
checkout
invariant
checkout-clears-basket
post-condition
checkout
invariant