visibility
PATCH /v1/visibility/targets/{targetId}
Change a watched domain's settings.
אימות
שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.
נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.
נסה זאת
החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.
curl -X PATCH https://api.zinndigital.com/v1/visibility/targets/{targetId} \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "domain": <string> }'מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API
פרטים
Updates the label, brand, category, market, cadence or which products watch this domain. `cadence_days: 0` pauses rather than deletes.
פרמטרים
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
targetId (path) | Uuid | כן | The watched domain's id. |
גוף הבקשה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
domain | string | כן | — |
label | string | לא | — |
brand | string | לא | — |
category | string | לא | — |
market | string | לא | — |
kinds | VisibilityAuditKind[] | לא | — |
cadence_days | integer | לא | — |
תשובה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
id | Uuid | כן | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
domain | string | כן | The hostname |
label | string | לא | The customer's own label for this domain. |
brand | string | לא | The trading name to look for in an answer engine's reply. Genuinely separate from the domain — an answer that recommends a business by name without printing its URL has still me… |
category | string | לא | What this business sells, in the customer's own words. The questions asked of the answer engines are built from it, so it is the single field that decides whether an AI-visibili… |
market | string | לא | Where the business sells. Used with `category` to build the questions. |
is_external | boolean | כן | True when this is not a domain hosted with us — a competitor or a prospect. Only external targets count against the plan's allowance. |
site_id | string | לא | The site this target corresponds to, when it is one of ours. |
kinds | VisibilityAuditKind[] | כן | — |
cadence_days | integer | כן | Days between scheduled audits. `0` means paused — **not** deleted. History and settings survive and it resumes with no further action. |
next_due_at | string | לא | — |
last_audit_at | string | לא | — |
review_profiles | ReviewProfile[] | לא | — |
products | TrackedProduct[] | לא | The products this organisation has asked us to price-track. |
merchant_names | string[] | לא | How this business appears as a **seller** on the marketplaces. Confirmed by the customer and never inferred: Google Shopping publishes a seller name and no domain on its listing… |
keywords | TrackedKeyword[] | לא | The search phrases this organisation tracks its position for. Customer-supplied and never derived: asking a vendor which phrases a domain already ranks for would return exactly… |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 403 · 404 · 422