🚀 Order features
Order features are SDK composers, not Express middleware; orderService mounts all six in service order.
Inventory
| Feature | Composed schema(s) | Composed route(s) | Purpose |
|---|---|---|---|
createOrderFeature | createOrderSchema | createOrderRoute | Create an order. |
updateOrderFeature | updateOrderSchema | updateOrderRoute | Update an order. |
getOrderFeature | getOrderSchema | getOrderRoute | Read one order. |
findOrdersFeature | findOrdersSchema | findOrdersRoute | List orders. |
deleteOrderFeature | deleteOrderSchema | deleteOrderRoute | Delete one order. |
findOrdersByOrganizationIdFeature | findByOrganizationIdSchema | findOrdersByOrganizationIdRoute | List one organization’s orders. |
Details
Each feature is mounted by orderService. The source definitions below show the exact schema-to-route composition.
createOrderFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by orderService or a compatible custom service context.View complete source
updateOrderFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by orderService or a compatible custom service context.View complete source
getOrderFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by orderService or a compatible custom service context.View complete source
findOrdersFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by orderService or a compatible custom service context.View complete source
deleteOrderFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by orderService or a compatible custom service context.View complete source
findOrdersByOrganizationIdFeature
Implementation
This feature composes the schema and route linked in its inventory row; it is mounted by orderService or a compatible custom service context.
Uses the cross-domain organization findByOrganizationIdSchema from the inventory row.View complete source