marketplace

POST /v1/marketplace/conversations/{conversation_id}/messages

Reply in a thread, as whichever side of it you are on.

ყველა marketplace ენდპოინტი

ყველა დეველოპერის დოკუმენტაცია

ავტორიზაცია

API გასაღები გაგზავნეთ როგორც bearer token. ეს ენდპოინტი სპეციფიკაციაში არ მიუთითებს კონკრეტულ ნებართვას, ამიტომ მიანიჭეთ თქვენს გასაღებს მინიმალური საჭირო უფლებები და ვარაუდის ნაცვლად შეამოწმეთ პასუხი.

სwhere your organisation id goes-ის ადგილი

ეს ენდპოინტი იყენებს პარამეტრად org_id. მისი გამოტოვების შემთხვევაში ზარი ფარავს თქვენი იჯარის მთელ ქვეხეს, ხოლო გაგზავნისას ზარი შეიზღუდება მხოლოდ ერთ ორგანიზაციამდე.

თქვენი ორგანიზაციის ID მითითებულია თქვენი სამართავი პანელის API გასაღებების ეკრანზე, თავად გასაღებთან ახლოს. ის ერთნაირია თქვენ მიერ განხორციელებულ ყველა გამოძახებაში.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

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

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი API კონსოლში

დეტალები

docs/147 §5. The same contact policy as every other marketplace message; on a pre-sales thread attachments are refused.

პარამეტრები

სახელიტიპისავალდებულორა არის ეს
conversation_id (path)stringდიახ
org_id (query)stringარაWhich of your organizations is replying. Naming one you do not belong to is 403.

მოთხოვნის სხეული

სახელიტიპისავალდებულორა არის ეს
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 · 403 · 404 · 422