POST
/orders
Create Order
Create a new order with items. Validates product availability and calculates totals.
Request Body
Order with items to create
Content Types: application/json
Schema: CreateOrderRequest
Responses
| Status | Description | Schema |
|---|---|---|
| 201 | Order created successfully | Order |
| 400 | Validation errors | ErrorResponse |
| 409 | Insufficient stock for one or more items | ErrorResponse |