Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

ShoppingCartPromotionCampaign

identifier
String!,non-null
Sample
{ "identifier": "Example String" }

ShoppingCartPromotionConfiguration

amountOff

The amount off of the promotion. Only applicable when promotion is of type AMOUNT_OFF, null otherwise.

freeItemsQuantity

The free item target quantity of the promotion. Only applicable when promotion is of type FREE_ITEMS, null otherwise.

internalDescription
String!,non-null

Promotion's Internal description, set by the shop at creation

percentageOff

The percentage off of the promotion. Only applicable when promotion is of type PERCENTAGE_OFF, null otherwise.

reducedUnitPrice

The reduced unit price of this promotion. Only applicable when the promotion is of type REDUCED_UNIT_PRICE, null otherwise.

type
String!,non-null

Promotion's type, whether it is applied to this item (ITEM), or every items in the basket for this shop (BASKET) One of All, AMOUNT_OFF, FREE_ITEMS, PERCENTAGE_OFF, REDUCED_UNIT_PRICE

Sample
{ "amountOff": 40, "freeItemsQuantity": 40, "internalDescription": "Example String", "percentageOff": 40, "reducedUnitPrice": 40, "type": "Example String" }

ShoppingCartShippingType

code
String!,non-null

Shipping type code

cutOffTime

Shipping type Cutoff time

Expected order delivery time

label
String!,non-null

Shipping type label

shippingAdditionalFields

Custom Shipping associated to the zone and the type

shippingDeadline
DateTime!,non-null

Estimated shipping date, that includes business closing days and cut-off configured on the platform. Add the earliest and latest delivery times to calculate the estimated delivery date to customers

Sample
{ "code": "Example String", "cutOffTime": "Example String", "deliveryTime": { "__typename": "DeliveryDateTimeInformation" }, "label": "Example String", "shippingAdditionalFields": [ { "__typename": "BooleanAdditionalFieldValue" } ], "shippingDeadline": "Example Custom Scalar" }

DeliveryDateTimeInformation

earliestDays
Int!,non-null

Earliest order delivery time

earliestDeliveryDate
DateTime!,non-null

Earliest order delivery date

latestDays
Int!,non-null

Latest order delivery time

latestDeliveryDate
DateTime!,non-null

Latest order delivery date

Sample
{ "earliestDays": 40, "earliestDeliveryDate": "Example Custom Scalar", "latestDays": 40, "latestDeliveryDate": "Example Custom Scalar" }

OfferDiscount

discountPrice

Discount price. Not to be read if discount with ranges is specified (i.e. discount with at least one range with quantity threshold greater than one).

startDate

Discount start date

endDate

Discount end date

originPrice

Origin price

ranges

Discount ranges

Sample
{ "discountPrice": 40, "startDate": "Example Custom Scalar", "endDate": "Example Custom Scalar", "originPrice": 40, "ranges": [ { "__typename": "DiscountRange" } ] }

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" }

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview