marketplace

POST /v1/marketplace/orders/{sale_id}/messages/preview

Assess a draft before it is sent — the inline nudge.

Всички крайни точки в marketplace

Упълномощаване

Изпратете API ключ като носител (bearer token). Тази точка за достъп не указва конкретно разрешение в спецификацията, затова дайте на ключа си най-малкото необходимо и проверете отговора, вместо да правите предположения.

Този ендпойнт не изисква идентификатор на организация. Вашият ключ вече идентифицира организацията, към която принадлежи, и отговорът е ограничен до нея.

Опитайте

Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.

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

Влязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в API конзолата

Детайли

docs/133 D26, the top rung of the ladder and the one that does most of the work: most circumvention is naive, and telling someone once, before they send, that the platform holds the money and the guarantee stops most of it. Writes nothing and counts nothing, so it is safe to call on blur. Storing a policy event for a draft somebody then edits would also poison the false-positive rate with messages that were never sent. `nudge` is a message KEY, not a sentence — it is rendered in every locale by the client.

Параметри

ИмеТипЗадължителноКакво представлява
sale_id (path)stringДа

Тяло на заявката

ИмеТипЗадължителноКакво представлява
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.

Отговор

ИмеТипЗадължителноКакво представлява
actionstring<allow, nudge, flag, mask, hold>ДаThe rung the ladder chose. There is no rung that refuses to send — the hardest action is holding for review, and at high confidence the action is on the ACCOUNT rather than on t…
confidenceintegerДа
kindsstring[]НеWhat was detected, which is what makes the false-positive rate actionable.
nudgestringНеA message KEY for the inline warning, or empty. Never a sentence.

Грешки, които този крайpoint може да върне

401 · 404