Fulfillment Order¶
aggregate-root fulfillment
Fulfillment-oriented grouping derived from an order for execution.
Business Purpose: Coordinate allocation, picking, packing, shipping, collection, and delivery for fulfillable order demand.
Identity¶
| Type | Field | Description |
|---|---|---|
global |
fulfillment-order-id |
Globally unique identifier for the fulfillment order, stable across its lifecycle. |
Attributes¶
| Attribute | Description |
|---|---|
fulfillment-order-id Fulfillment Order ID |
Stable fulfillment order identifier. |
order-id Order ID |
Source order reference. |
store-id Store ID |
Fulfillment location reference when fulfilled by a store. |
status Status |
Current fulfillment order state. |
created-at Created At |
Date and time when the fulfillment order was created. |
Lifecycle¶
created → allocated → picking → packed → shipped → delivered → collected → cancelled
Invariants¶
stable-fulfillment-order-id— Fulfillment order ID must remain stable for the lifetime of the fulfillment order.order-reference-required— A fulfillment order must reference a source order.
Relationships¶
| Type | Target |
|---|---|
derives-from |
order order |
references |
order-line order-line |
uses |
allocation allocation |
results-in |
shipment shipment |
located-at |
store store |
Used by Capabilities¶
- fulfillment-execution Fulfillment Execution
Semantic Constraints¶
| Constraint | Type | Rule |
|---|---|---|
fulfillment-order-belongs-to-order |
association |
A Fulfillment Order must be derived from exactly one Order. Fulfillmen… |
picking-task-belongs-to-fulfillment-order |
association |
A Picking Task must belong to exactly one Fulfillment Order. |
Note
Current models use order and shipment for fulfillment flows; fulfillment-order is present as a canonical catalog object without direct legacy process references.
Referenced by APIs¶
| Endpoint | Method | Role | Capability |
|---|---|---|---|
/orders/{id}/route |
POST | response |
order-orchestration |
/fulfillment/orders/{id} |
GET | response |
fulfillment-execution |
/fulfillment/orders/{id}/dispatch |
POST | response |
fulfillment-execution |
/picking-orders |
POST | request-body |
fulfillment-execution |