chat6 ops

API Chat

In-app messaging between accounts and threaded conversations.

Queries

QUERY

messages

#

Argumentos

  • threadId!
  • limitInt!

    Padrão

    50
  • offsetInt!

    Padrão

    0
Retorna[!]!
QUERY

myThreads

#

Argumentos

  • activeOnlyBoolean!

    Padrão

    true
  • limitInt!

    Padrão

    50
  • offsetInt!

    Padrão

    0
Retorna[!]!
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.

Argumentos

  • orderId!
Retorna[!]!

Mutations

MUTATION

createThread

#

Argumentos

  • input!
Retorna!
MUTATION

markAsRead

#

Argumentos

  • input!
RetornaBoolean!
MUTATION

sendMessage

#

Argumentos

  • input!
Retorna!