chat6 op

Chat API

In-app messaging between accounts and threaded conversations.

Query’ler

QUERY

messages

#

Argümanlar

  • threadId!
  • limitInt!

    Varsayılan

    50
  • offsetInt!

    Varsayılan

    0
Döndürür[!]!
QUERY

myThreads

#

Argümanlar

  • activeOnlyBoolean!

    Varsayılan

    true
  • limitInt!

    Varsayılan

    50
  • offsetInt!

    Varsayılan

    0
Döndürür[!]!
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.

Argümanlar

  • orderId!
Döndürür[!]!

Mutation’lar

MUTATION

createThread

#

Argümanlar

  • input!
Döndürür!
MUTATION

markAsRead

#

Argümanlar

  • input!
DöndürürBoolean!
MUTATION

sendMessage

#

Argümanlar

  • input!
Döndürür!