لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Reply in conversation
/ admin/ v1/ stores/ {store_id}/ conversations/ {conversation_id}/ messages- messages:write
- يدعم Idempotency-Key
Writes in the conversation: a reply while the channel allows (WhatsApp: 24 hours after the customer's last message; Instagram and Messenger: 24 hours, then 7 under the human agent tag when snizu's app has it), an answer to one of the customer's comments, or a note for the team.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.conversation_idstringمطلوبمعرّف من نوع
conv، مثلconv_01k8qs5s….
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
bodystringمطلوب1 to 4096 characters (a note: 2000; a public answer under a comment: 2000).
notebooleantrue: a note for the team, never sent.comment_idstring · أو nullAnswers this comment of the customer's…
reply_modeenum · أو null…publicly under it, or with the one private message Meta allows.
- public
- private
ما يُرجعه
201 Queued, or kept (a note).
الأخطاء
- 404
not_foundNo such conversation or comment. - 409The channel's window is closed (
window_closed,private_reply_closed,private_reply_sent), or its account isn't connected (whatsapp_unavailable,channel_unavailable). - 422
validation_failedEmpty or too long. - 429
rate_limitedThe store's team wrote too much this minute.