Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

DiscountRange

price
Float!,non-null

Price of the offer if the quantity threshold is reached

quantityThreshold
Int!,non-null

Minimum quantity to order for the given price to be applied

Sample
{ "price": 40, "quantityThreshold": 40 }
Referenced in

ShoppingCartOfferTaxAmount

amount
Float!,non-null

Tax amount

name
String!,non-null

Jurisdiction tax name

type
String!,non-null

Jurisdiction tax type (City, State...)

Sample
{ "amount": 40, "name": "Example String", "type": "Example String" }

ThreadConnection

The connection type for Thread.

edges

A list of edges.

pageInfo
PageInfo!,non-null

Information to aid in pagination.

Implements interfaces

Sample
{ "edges": [ { "node": { "authorizedParticipants": [ { "__typename": "ThreadParticipant" } ], "businessId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "currentParticipants": [ { "__typename": "ThreadParticipant" } ], "customerOrganization": { "__typename": "ThreadCustomerOrganization" }, "dateCreated": "Example Custom Scalar", "entities": [ { "__typename": "ThreadEntity" } ], "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "messages": [ { "__typename": "ThreadMessage" } ], "metadata": { "__typename": "ThreadMetadata" }, "topic": { "__typename": "ThreadTopic" } } } ], "pageInfo": { "endCursor": "Example String", "hasNextPage": true, "hasPreviousPage": true, "startCursor": "Example String" } }
Referenced in

ThreadEdge

An edge in a connection.

node
Thread!,non-null

The item of the edge.

Sample
{ "node": { "authorizedParticipants": [ { "__typename": "ThreadParticipant" } ], "businessId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "currentParticipants": [ { "__typename": "ThreadParticipant" } ], "customerOrganization": { "__typename": "ThreadCustomerOrganization" }, "dateCreated": "Example Custom Scalar", "entities": [ { "__typename": "ThreadEntity" } ], "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "messages": [ { "__typename": "ThreadMessage" } ], "metadata": { "__typename": "ThreadMetadata" }, "topic": { "__typename": "ThreadTopic" } } }
Referenced in

Thread

Represents a thread.

authorizedParticipants

Thread authorized participants. Those are the participants who are authorized to join the thread.

businessId
ID!,non-null
currentParticipants

Thread current participants. Those are the participants who have actually participated in the thread, meaning that they are either sender or receivers of at least one message of the thread.

customerOrganization

Data related to the customer organization (B2B transactions)

dateCreated
DateTime!,non-null

Thread creation date

entities

Thread entities

id
ID!,non-null

Thread id

messages

Thread messages

Thread metadata

topic
ThreadTopic!,non-null

Thread topic

Implements interfaces

Sample
{ "authorizedParticipants": [ { "__typename": "ThreadParticipant" } ], "businessId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "currentParticipants": [ { "__typename": "ThreadParticipant" } ], "customerOrganization": { "__typename": "ThreadCustomerOrganization" }, "dateCreated": "Example Custom Scalar", "entities": [ { "__typename": "ThreadEntity" } ], "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "messages": [ { "__typename": "ThreadMessage" } ], "metadata": { "__typename": "ThreadMetadata" }, "topic": { "__typename": "ThreadTopic" } }

ThreadParticipant

Represents a thread participant.

displayName
String!,non-null

Participant display name

id

Participant id. When type equals OPERATOR, no id will be returned.

type
String!,non-null

Participant type. Possible values are: CUSTOMER, OPERATOR, SHOP

Sample
{ "displayName": "Example String", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "type": "Example String" }

ThreadCustomerOrganization

Represents a customer organization.

displayName
String!,non-null

Customer organization name

id
ID!,non-null

Customer organization id

Sample
{ "displayName": "Example String", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }

ThreadEntity

Represents an entity link to a thread such as an order, an offer...

id
ID!,non-null

Entity id

label
String!,non-null

Entity label

type
String!,non-null

Entity type. Possible values are: MMP_ORDER, MMP_OFFER, MPS_ORDER, MPS_SERVICE

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

ThreadMessage

Represents a message in a thread.

attachments

Message attachments

body
String!,non-null

Message body

dateCreated
DateTime!,non-null

Message creation date

Message sender

id
ID!,non-null

Message id

Message recipients

Sample
{ "attachments": [ { "__typename": "ThreadMessageAttachment" } ], "body": "Example String", "dateCreated": "Example Custom Scalar", "from": { "__typename": "ThreadMessageSender" }, "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "to": [ { "__typename": "ThreadMessageRecipient" } ] }
Referenced in

ThreadMessageAttachment

Represents an attachment in a message.

id
ID!,non-null

Attachment id

name
String!,non-null

Attachment file name

size
Long!,non-null

Attachment size

downloadUrl
Url!,non-null

Attachment download url to retrieve the file

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "size": "Example Custom Scalar", "downloadUrl": "Example Custom Scalar" }

ThreadMessageSender

Represents the sender of a message.

displayName
String!,non-null

Sender display name

Organization details of the sender

type
String!,non-null

Sender type. Possible values are: CUSTOMER, OPERATOR, SHOP

Sample
{ "displayName": "Example String", "organizationDetails": { "__typename": "ThreadMessageSenderOrganization" }, "type": "Example String" }

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview