[31f88f42] Keine neuen Commits in dieser Session.

Keine neuen Commits in dieser Session.
This commit is contained in:
2026-03-10 13:54:07 +00:00
parent a3f79db2d2
commit 3fd3c5acfa
8 changed files with 268 additions and 9 deletions

View File

@@ -73,6 +73,19 @@ def get_company_details(company_id: int) -> dict:
"""Holt die vollständigen Details zu einem Unternehmen."""
return _make_api_request("GET", f"/companies/{company_id}")
def match_company(name: str, website: str = None, city: str = None) -> dict:
"""
Gleicht ein Unternehmen über den zentralen Matching-Service im Company Explorer ab.
Gibt potenzielle Treffer mit Scores und SuperOffice Contact IDs zurück.
"""
payload = {
"name": name,
"website": website,
"city": city,
"country": "Deutschland"
}
return _make_api_request("POST", "/match-company", json_data=payload)
def create_contact(company_id: int, contact_data: dict) -> dict:
"""Erstellt einen neuen Kontakt für ein Unternehmen im Company Explorer."""
payload = {