PATCH
/orders/{orderId}/status
Update Order Status
Update the status of an order. Validates status transitions (e.g., cannot ship before payment).
Path Parameters
See schema: OrderIdPathParam
Request Body
New status
Content Types: application/json
Schema: UpdateOrderStatusRequest
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | Status updated | Order |
| 400 | Invalid status transition | ErrorResponse |
| 404 | Order not found | ErrorResponse |