Update Order Status
PUT /v1/order/:id/status
Updates the status of a specific order by changing its current state to a new status value. The endpoint validates that the status transition is allowed based on the order's current state and business rules. Returns the updated order object with the new status and any related state changes that occurred as a result of the status update.
Request Body
{
"status": "confirmed"
}