marketplace

POST /v1/marketplace/listings/{listing_id}/enquiries

Ask a seller a question before buying.

Све marketplace крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.

Где се уноси ID ваше организације

Ова крајња тачка прихвата org_id као параметар упита. Изоставите га и позив ће обухватити цело подстабло вашег закупа; пошаљите га да бисте сузили позив на једну организацију.

Идентификатор ваше организације се налази на екрану са API кључевима на вашој контролној табли, поред самог кључа. То је исти идентификатор у сваком позиву који упутите.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

curl -X POST https://api.zinndigital.com/v1/marketplace/listings/{listing_id}/enquiries \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "body": <string> }'

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

docs/133 D26. Attachments are refused here entirely: an attachment bypasses text scanning, we have no OCR, and on the one surface where nobody has paid there are therefore no files. Saying so is honest; scanning an image we cannot read would not be.

Параметри

НазивТипОбавезноШта је ово
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 guess.…

Тело захтева

НазивТипОбавезноШта је ово
bodystringДа—
localestringНе—
attachmentsobject[]НеRefused entirely on a pre-sales thread: an attachment bypasses text scanning and we have no OCR, so on the one surface where nobody has paid there are no files.

Одговор

НазивТипОбавезноШта је ово
idstringДа—
bodystringДаWhat the reader sees — the masked form where the policy masked it. The original is always kept in the order record and is what a dispute reads; it is not in this payload, because…
minebooleanДа—
from_staffbooleanНе—
source_localestringНеBCP-47. Participants write in their own language; a message is translated FOR THE READER and the original is always shown, never replaced.
maskedbooleanНе—
policy_noticestringНеA message KEY, rendered in every locale by the client. Set only for the SENDER of a masked message — telling the recipient "they tried to give you an email address" would be an…
heldbooleanНеOnly on the send response. The one case where reporting "sent" would be a lie.
created_atstringДа—

Грешке које ова крајња тачка може вратити

401 · 404 · 422