chat6 عملية

Chat API

In-app messaging between accounts and threaded conversations.

Queries

QUERY

messages

#

الوسائط

  • threadId!
  • limitInt!

    افتراضي

    50
  • offsetInt!

    افتراضي

    0
يُرجع[!]!
QUERY

myThreads

#

الوسائط

  • activeOnlyBoolean!

    افتراضي

    true
  • limitInt!

    افتراضي

    50
  • offsetInt!

    افتراضي

    0
يُرجع[!]!
QUERY

orderChatMessages

#

Fetch all chat messages for a specific order. # Authorization Requires TenantAdmin or PlatformAdmin role. # Arguments * order_id - The order ID to fetch messages for # Returns List of chat messages associated with the order's chat thread. Returns empty list if no chat thread exists for the order.

الوسائط

  • orderId!
يُرجع[!]!

Mutations

MUTATION

createThread

#

الوسائط

  • input!
يُرجع!
MUTATION

markAsRead

#

الوسائط

  • input!
يُرجعBoolean!
MUTATION

sendMessage

#

الوسائط

  • input!
يُرجع!