public function update(int $vehicleId, array $payload): Response
    {
        $this->requiresAccessToken();

        return $this->sendJson(
            'PATCH', "vehicles/{$vehicleId}", $this->getApiHeaders(), $payload
        );
    }
public function update(int $vehicleId, array $payload): Response
    {
        $this->requiresAccessToken();

        return $this->sendJson(
            'PATCH', "vehicles/{$vehicleId}", $this->getApiHeaders(), $payload
        );
    }
public function update ( int $ vehicleId , array $ payload ) : Response { $ this -> requiresAccessToken ( ) ; return $ this -> sendJson ( 'PATCH' , "vehicles/{$vehicleId}" , $ this -> getApiHeaders ( ) , $ payload ) ; }
Update vehicle information.

@param int   $vehicleId
@param array $payload

@return \Laravie\Codex\Contracts\Response
Update vehicle information .