Skip to content

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

Process Name Classification
checkout Checkout transactional
bopis BOPIS transactional
endless-aisle Endless Aisle transactional
clienteling-sale Clienteling Sale transactional
boris BORIS post-sale
return-anywhere Return Anywhere post-sale
exchange-anywhere Exchange Anywhere post-sale
subscription-renewal Subscription Renewal transactional
decision-review-and-execution Decision Review and Execution management
service-and-repair-management Service and Repair Management post-sale
retail-media-attribution Retail Media Attribution management

Applications

Application Name Tier
oms OMS
ecommerce-platform eCommerce Platform

Lifecycle

Lifecycle States ID
Fulfillment Order Lifecycle 9 states fulfillment-order-lifecycle
Order Lifecycle 7 states order-lifecycle
Purchase Order Lifecycle 8 states purchase-order-lifecycle
Service Order Lifecycle 5 states service-order-lifecycle

Metrics & KPIs

Metric Alias Unit Direction
Gross Merchandise Value GMV currency

Touchpoints

Touchpoint Type
💻 Web Store Digital
💻 Mobile App Digital
🏪 Self-Service Kiosk Physical
💻 Third-Party Marketplace Digital
🤝 Call Centre / Customer Service Assisted
🏪 Clienteling Tablet Physical
💻 Social Commerce Digital
💻 Partner / B2B API Digital

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