انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

List customer conversations

GET/admin/v1/stores/{store_id}/conversations
  • messages:read

Conversations on every channel, the latest first, 50 a page: one of the team's views, a customer's, a phone's, or those about an order.

معاملات المسار

  • store_idstringمطلوب

    معرّف من نوع store، مثل store_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.

معاملات الاستعلام

  • viewenum

    all (the default), open, mine, unassigned or done.

    • all
    • open
    • mine
    • unassigned
    • done
  • channelenum

    Where a conversation is.

    • whatsapp
    • instagram
    • messenger
  • customer_idstring

    معرّف من نوع cus، مثل cus_01k8qs5s….

  • phonestring

    E.164.

  • order_idstring

    Conversations with a message about this order.

  • unreadboolean

    true: only those with unread messages (New); false: only those without.

  • qstring

    Words in the phone, the person's name or their handle.

  • after_attimestamp

    The next page: the last conversation's last_message_at and id.

  • after_idstring

    معرّف من نوع conv، مثل conv_01k8qs5s….

الترويسات

  • shop-api-versionYYYY-MM

    الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

ما يُرجعه

200 Conversations.

الأخطاء

  • 403forbiddenMissing permission.