/**
  * @param Request $request
  * @param $id
  * @return mixed
  */
 public function updateStatus(Request $request, $id)
 {
     $idDeliveryman = Authorizer::getResourceOwnerID();
     $order = $this->orderService->updateStatus($id, $idDeliveryman, $request->get('status'));
     if ($order != false) {
         return $order;
     } else {
         abort(400, 'Order não encontrado');
     }
 }