لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Send message
POST
/ admin/ v1/ stores/ {store_id}/ agent/ conversations/ {conversation_id}/ messages- يدعم Idempotency-Key
Sends a message and streams the turn as server-sent events.
معاملات المسار
store_idstringمطلوبconversation_idstringمطلوب
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
textstringمطلوبpagestring · أو nullThe path of the page beside the panel.
languagestring · أو nullThe admin's language,
aroren.filesarray of stringsFiles going with these words, from the file routes.
voiceobject · أو nullSet on a voice call: where the person is, for how the answer should sound.
theme_editobject · أو nullA fixed section and the editor's unsaved working copy, for a draft-only turn.
theme_pageobject · أو nullThe page the theme editor shows and its unsaved working copy, for a page draft.
ما يُرجعه
200 Events of the turn
الأخطاء
- 409
- 429
rate_limited