marketplace
GET /v1/marketplace/listings/{listing_id}/enquiries
The pre-sales conversation about one listing.
אימות
שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.
המקום שבו מזהה הארגון שלך נכנס
נקודת קצה זו מקבלת את org_id כפרמטר שאילתת חיפוש. השאר אותו ריק והקריאה תכסה את כל תת-עץ הדיירות שלך; שלח אותו כדי לצמצם את הקריאה לארגון אחד.
מזהה הארגון שלך נמצא במסוף מפתחות ה-API בלוח הבקרה שלך, לצד המפתח עצמו. זהו אותו מזהה בכל קריאה שאתה מבצע.
נסה זאת
החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.
curl -X GET https://api.zinndigital.com/v1/marketplace/listings/{listing_id}/enquiries \
-H "Authorization: Bearer zdk_live_…"מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API
פרטים
docs/133 D26. The highest-risk surface on the platform, because nothing is paid and there is therefore nothing to lose by taking the conversation elsewhere. The contact policy leans hardest here. Keyed on the listing and the enquirer, not on the seller: a buyer asking about two of a seller's listings is having two conversations, and merging them produces a thread where neither party can tell which asset a question was about.
פרמטרים
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
listing_id (path) | string | כן | — |
org_id (query) | string | לא | Which of your organizations the enquiry is from. Optional when you belong to exactly one; **required (422) when you belong to more than one**, because the platform will not gues… |
cursor (query) | string | לא | Opaque cursor from a previous page's `page.next_cursor`. |
limit (query) | integer | לא | Maximum items to return (page size). |
תשובה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
data | MarketplaceMessage[] | כן | — |
page | PageMeta | כן | — |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 404