Update the details of a specific fare by ID:
PUT /fares/{id}
{
"route_id": 2,
"seat_plan_id": 2,
"coach_type": 2,
"seat_type": "Economy",
"from_date": "2024-02-01",
"to_date": "2024-11-30",
"amount": 800,
"status": 1
}
{
"status": "success",
"message": "Fare updated successfully",
"data": {
"id": 1,
"route_id": 2,
"start_id": 2,
"end_id": 3,
"start_name": "Chittagong",
"end_name": "Sylhet",
"distance": 189,
"duration": "4:15",
"route_status": 1,
"seat_plan_id": 2,
"seat_plan_name": "Non-AC",
"coach_type": 2,
"seat_type": "Economy",
"from_date": "2024-02-01",
"to_date": "2024-11-30",
"amount": 800,
"status": 1,
"created_by": 1,
"updated_by": 1,
"created_at": "2024-01-01T12:00:00",
"updated_at": "2024-01-15T14:30:00",
"deleted_at": null
}
}