Skip to content

Order Domain

Manage commercial commitments and order lifecycle.


At a Glance

Count
Business Objects 3
Capabilities 2
Processes 16
Events 11
APIs 5
Validation Rules 15

Object Relationships

erDiagram
    INVOICE }o..o{ ORDER : "references"
    ORDER_LINE }o--|| ORDER : "belongs-to"
    ORDER ||--o{ ORDER_LINE : "contains"
    ORDER ||--o{ INVOICE : "contains"

Business Objects

Object Classification Description
Invoice invoice aggregate-root Commercial billing document associated with an order or payment obligation.
Order order aggregate-root Confirmed commercial commitment created from checkout or assisted selling.
Order Line order-line entity Line-level item entry within an order.

Capabilities

Capability Archetype Outcome
Order Orchestration order-orchestration intelligence Orders can be split, routed and reassigned to optimal fulfilment locations based…
Order Management order-management management Orders can be created, validated, confirmed, modified, tracked and closed throug…

Events

Created (2):
OrderCreated FulfillmentOrderCreated

Transitioned (8):
BasketConverted OrderValidated OrderConfirmed OrderCancelled OrderClosed OrderSplit OrderRouted FulfillmentLocationReassigned

Updated (1):
OrderModified

Processes

  • Checkout checkoutA confirmed order is created with payment authorised, promotions applied and loy
  • BOPIS bopisA customer can place an order online and collect it from a physical store on the
  • Endless Aisle endless-aisleA store associate can sell items not physically present in-store and fulfil them
  • Clienteling Sale clienteling-saleA store associate can complete a personalised assisted sale using customer histo
  • Voucher Redemption voucher-redemptionA customer can redeem a gift voucher or store credit as full or partial payment
  • Ship From Store ship-from-storeStore stock can be used to pick, pack and ship online orders directly to the cus
  • Ship To Store ship-to-storeWarehouse or supplier stock can be transferred to a store and made available for
  • BORIS borisA customer can return an online order at any physical store and receive a refund
  • Return Anywhere return-anywhereCustomers can return items to any store or channel regardless of the original pu
  • Exchange Anywhere exchange-anywhereCustomers can exchange items at any store regardless of the original purchase ch
  • Self-Checkout self-checkoutA customer can scan, bag, and pay for items independently at a self-service term
  • Scan and Go scan-and-goCustomer completes payment on their device or at an exit terminal without queuin
  • Subscription Renewal subscription-renewalA subscription is renewed automatically, a new order is generated, payment is ca
  • Decision Review and Execution decision-review-and-executionA material automated decision is approved, overridden, expired, or executed by t
  • Service and Repair Management service-and-repair-managementA service or repair commitment associated with a customer order is created, sche
  • Retail Media Attribution retail-media-attributionA sponsored offer is activated for eligible audiences and has its approved close

APIs

Endpoint Method Service Capability
/orders POST create-order order-management
/orders/{id} GET track-order order-management
/orders/{id}/cancel POST cancel-order order-management
/orders/{id}/confirm POST confirm-order order-management
/orders/{id}/route POST route-order order-orchestration

Applications

  • OMS oms (system of record)
  • eCommerce Platform ecommerce-platform (system of engagement)

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
ship-from-store-requires-routed-order pre-condition ship-from-store invariant
ship-to-store-requires-routed-order pre-condition ship-to-store 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
voucher-redemption-requires-valid-voucher pre-condition voucher-redemption invariant
endless-aisle-requires-active-channel pre-condition endless-aisle invariant
self-checkout-requires-active-terminal pre-condition self-checkout invariant
retail-media-requires-consent-aware-audience pre-condition retail-media-attribution invariant
checkout-creates-order post-condition checkout invariant
checkout-clears-basket post-condition checkout invariant

Semantic Constraints

Constraint Type Rule
order-must-have-lines association An Order must contain at least one Order Line. An empty order has no c…
order-belongs-to-customer association An Order must be associated with exactly one Customer. Anonymous order…
order-line-references-product association Every Order Line must reference exactly one Product. An order line wit…
fulfillment-order-belongs-to-order association A Fulfillment Order must be derived from exactly one Order. Fulfillmen…
payment-belongs-to-order association A Payment must be associated with exactly one Order. Payment without a…
invoice-belongs-to-order association An Invoice must be associated with exactly one Order.
return-belongs-to-order association A Return must reference the original Order it relates to.
exchange-belongs-to-order association An Exchange must reference the original Order it is replacing.
order-owned-by-oms ownership The Order lifecycle is exclusively owned by the OMS. No other applicat…
order-in-order-domain domain-containment The Order Business Object is owned by the Order domain.
order-cannot-dispatch-without-confirmation lifecycle-gate An order must pass through confirmed state before entering fulfilment.…
order-cannot-cancel-when-completed lifecycle-gate A completed order cannot be cancelled. Post-completion reversals must …

← Back to Domain Catalog