public static function updateUser($listid,$email,$status)
    {
    	$data = [
    			'status' => $status
    	];
    	if (!empty($merge_fields)) $data['merge_fields'] = $merge_fields;
    	$action = self::$api_version.'/lists/'.$listid.'/members/'. md5($email);
    
    	return self::send($action, 'PATCH', $data);
    }
public static function updateUser($listid,$email,$status)
    {
    	$data = [
    			'status' => $status
    	];
    	if (!empty($merge_fields)) $data['merge_fields'] = $merge_fields;
    	$action = self::$api_version.'/lists/'.$listid.'/members/'. md5($email);
    
    	return self::send($action, 'PATCH', $data);
    }
public static function updateUser ( $ listid , $ email , $ status ) { $ data = [ 'status' => $ status ] ; if ( ! empty ( $ merge_fields ) ) $ data [ 'merge_fields' ] = $ merge_fields ; $ action = self :: $ api_version . '/lists/' . $ listid . '/members/' . md5 ( $ email ) ; return self :: send ( $ action , 'PATCH' , $ data ) ; }
update status user to a given listid to a given email
@param $email
@param $listid
@param $status
@return mixed
update status user to a given listid to a given email