code: @RequestMapping(path="/{orderId}/status", method = RequestMethod.PUT)
      public ResponseEntity<Order> updateStatus(@PathVariable("orderId") Long orderId, @RequestParam("status") OrderStatus status){
          Order order = orderService.updateStatus(orderId, status);
          if(order != null){
              return new ResponseEntity<Order>(order, HttpStatus.OK);
          }
          return new ResponseEntity<Order>(HttpStatus.NOT_FOUND);
      }
docs: Update order status
  @param orderId id of the order
  @param status new order status
  @response 200
  @response 404
  @return Order with the new status