Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

SelectedShippingType

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

ShoppingCartAppliedShippingType

code
String!,non-null
cutOffTime
label
String!,non-null
shippingAdditionalFields
totalShippingPrice
Float!,non-null
Sample
{ "code": "Example String", "cutOffTime": "Example String", "deliveryTime": { "__typename": "DeliveryDateTimeInformation" }, "label": "Example String", "shippingAdditionalFields": [ { "__typename": "BooleanAdditionalFieldValue" } ], "totalShippingPrice": 40 }

ShoppingCartLine

allowedShippingTypes

The allowed shipping types for this offer

fulfillment

Fulfillment information of the offer

lineOnlyShippingPrice
Float!,non-null

Shipping price of the order line if the order is composed only of the offer (shipping price * 1 + additional shipping price * (quantity - 1))

lineOnlyTotalPrice
Float!,non-null

Total price of the order line if the order is composed only of the offer (price + shipping price of the order line)

lineOriginalQuantity
Int!,non-null

Quantity of offers requested in the line

linePrice
Float!,non-null

Price of the order line (unit price of the offer * quantity) - promotions

lineQuantity
Int!,non-null

Quantity of offers returned for the line

lineShippingPrice
Int!,non-null

Shipping price of the order line

lineTotalPrice
Int!,non-null

Total price of the order line (line_price + line_shipping_price)

offerDiscount

Discount of the offer

promotions

List of promotions

unitPrice
Float!,non-null

Unit price of the offer

shippingPriceAdditionalUnit
Float!,non-null

Additional shipping price of the offer

shippingPriceUnit
Float!,non-null

Shipping price of the offer

shippingTaxes

Taxes to be applied on the shipping price

Taxes to be applied on the product price

offer

Details offer information

Sample
{ "allowedShippingTypes": [ { "__typename": "ShoppingCartShippingType" } ], "fulfillment": { "__typename": "OfferFulfillment" }, "lineOnlyShippingPrice": 40, "lineOnlyTotalPrice": 40, "lineOriginalQuantity": 40, "linePrice": 40, "lineQuantity": 40, "lineShippingPrice": 40, "lineTotalPrice": 40, "offerDiscount": { "__typename": "OfferDiscount" }, "promotions": [ { "__typename": "AppliedPromotion" } ], "unitPrice": 40, "shippingPriceAdditionalUnit": 40, "shippingPriceUnit": 40, "shippingTaxes": [ { "__typename": "ShoppingCartOfferTaxAmount" } ], "taxes": [ { "__typename": "ShoppingCartOfferTaxAmount" } ], "offer": { "__typename": "Offer" } }

ShoppingCartPromotion

appliedPromotions

The promotions applied on this order

totalDeducedAmount
Float!,non-null

The total amount deduced on this order thanks to the promotions

Sample
{ "appliedPromotions": [ { "__typename": "ShoppingCartAppliedPromotion" } ], "totalDeducedAmount": 40 }

ShoppingCartAppliedPromotion

apportioned
Boolean!,non-null

Whether the promotion's deduced amount has been divided among multiple order lines

Promotion campaign information, when applicable.

Configuration used to calculate the applied promotion

deducedAmount
Float!,non-null

Promotion's amount for this line.

id
String!,non-null

Promotion's id, defined by the shop

offeredQuantity

The quantity of free items offered by the promotion for this line. Only applicable when promotion is of type FREE_ITEMS, null otherwise.

promoCode

Promo code associated to the promotion

Sample
{ "apportioned": true, "campaign": { "__typename": "ShoppingCartPromotionCampaign" }, "configuration": { "__typename": "ShoppingCartPromotionConfiguration" }, "deducedAmount": 40, "id": "Example String", "offeredQuantity": 40, "promoCode": "Example String" }

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

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview