Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Unions

Overview

Inputs

Overview

ThreadDetailsInput

body
String!,non-null

Body of the first message of the thread.

to
[String!]!,non-null

Message recipients. Valid values are: OPERATOR, SHOP, CUSTOMER

topic
TopicInput!,non-null

The topic can either have a free or a fixed value depending on the topic type

Sample
{ "body": "Example String", "to": [ "Example String" ], "topic": { "__typename": "TopicInput" } }

TopicInput

type
String!,non-null

Must be FREE_TEXT or REASON_CODE

value
String!,non-null

If type is FREE_TEXT, a text. If type is REASON_CODE, a valid reason code.

Sample
{ "type": "Example String", "value": "Example String" }

AttachmentInput

name
String!,non-null

The name of the file.

url
Url!,non-null

The url of the file returned by the file upload api /api/graphql/upload

Sample
{ "name": "Example String", "url": "Example Custom Scalar" }

ReplyToThreadInput

attachments

Files to attach to the thread.

body
String!,non-null

Body of the message to add to the thread.

Message recipients.

New topic for the thread. Leave empty to keep the current topic.

Sample
{ "attachments": [ { "__typename": "AttachmentInput" } ], "body": "Example String", "to": [ { "__typename": "RecipientInput" } ], "topic": { "__typename": "TopicInput" } }

RecipientInput

id
type
String!,non-null
Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "type": "Example String" }
Referenced in

AdditionalFieldValueInput

booleanAdditionalFieldValue
dateAdditionalFieldValueInput
linkAdditionalFieldValue
stringListAdditionalFieldValue
multipleValuesStringListAdditionalFieldValue
numericAdditionalFieldValue
stringAdditionalFieldValue
textAreaAdditionalFieldValue
Sample
{ "booleanAdditionalFieldValue": { "__typename": "BooleanAdditionalFieldValueInput" }, "dateAdditionalFieldValueInput": { "__typename": "DateAdditionalFieldValueInput" }, "linkAdditionalFieldValue": { "__typename": "LinkAdditionalFieldValueInput" }, "stringListAdditionalFieldValue": { "__typename": "StringListAdditionalFieldValueInput" }, "multipleValuesStringListAdditionalFieldValue": { "__typename": "MultipleValuesStringListAdditionalFieldValueInput" }, "numericAdditionalFieldValue": { "__typename": "NumericAdditionalFieldValueInput" }, "regexFieldValue": { "__typename": "RegexAdditionalFieldValueInput" }, "stringAdditionalFieldValue": { "__typename": "StringAdditionalFieldValueInput" }, "textAreaAdditionalFieldValue": { "__typename": "TextAreaAdditionalFieldValueInput" } }

BooleanAdditionalFieldValueInput

code
String!,non-null

Additional field's code

value
String!,non-null

Additional field's value

Sample
{ "code": "Example String", "value": "Example String" }

DateAdditionalFieldValueInput

code
String!,non-null

Additional field's code

value
String!,non-null

Additional field's value

Sample
{ "code": "Example String", "value": "Example String" }

LinkAdditionalFieldValueInput

code
String!,non-null

Additional field's code

value
String!,non-null

Additional field's value

Sample
{ "code": "Example String", "value": "Example String" }

StringListAdditionalFieldValueInput

code
String!,non-null

Additional field's code

value
String!,non-null

Additional field's value

Sample
{ "code": "Example String", "value": "Example String" }

MultipleValuesStringListAdditionalFieldValueInput

code
String!,non-null

Additional field's code

value
[String!]!,non-null

Values of the additional field

Sample
{ "code": "Example String", "value": [ "Example String" ] }

Scalars

Overview