Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

EcoContribution

Represents the eco-contribution details for a producer identifiers

eprCategoryCode
String!,non-null
producerId
String!,non-null
producerIdOwner
String!,non-null
totalAmount
unitAmount
Sample
{ "eprCategoryCode": "Example String", "producerId": "Example String", "producerIdOwner": "Example String", "totalAmount": 40, "unitAmount": 40 }

OrderTaxAmount

Represents the amount of a tax.

amount
Float!,non-null

Tax amount

The breakdown of the tax amount, only available when advanced features are enabled

code
String!,non-null

Tax code

rate

Tax rate

Sample
{ "amount": 40, "breakdown": { "__typename": "AmountBreakdown" }, "code": "Example String", "rate": 40 }

OrderLineProductMeasurement

Represents measurement information of an order item (OrderLine)

actualMeasurement

Actual measurement on the order line

measurementUnit

Measurement unit of the order line. Possible values: GRAM, KILOGRAM, TON, POUND, OUNCE, MILLILITER, CENTILITER, CUBIC_METER, LITER, GALLON, FLUID_OUNCE, PINT, BARREL, CENTIMETER, METER, INCH, FEET, SQUARE_CENTIMETER, SQUARE_METER, SQUARE_INCH, SQUARE_FOOT

orderedMeasurement

Total measurement ordered on the order line

Sample
{ "actualMeasurement": 40, "measurementUnit": "Example String", "orderedMeasurement": 40 }
Referenced in

ProductMedia

Represents a product's media

mediaUrl
String!,non-null

Media URL

format
String!,non-null

Media format (.jpg, .png ...)

type
String!,non-null

Type of the product media (small, large...)

Sample
{ "mediaUrl": "Example String", "format": "Example String", "type": "Example String" }
Referenced in

OrderComputedPromotions

Represents an order's promotions

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": "AppliedPromotion" } ], "totalDeducedAmount": 40 }
Referenced in

AppliedPromotion

Represents a promotion applied to an element

apportioned
Boolean!,non-null

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

configuration

Configuration used to calculate the applied promotion

deducedAmount
Float!,non-null

Promotion's amount.

id
ID!,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, "configuration": { "__typename": "AppliedPromotionConfiguration" }, "deducedAmount": 40, "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "offeredQuantity": 40, "promoCode": "Example String" }

AppliedPromotionConfiguration

Represents a promotion's configuration

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.

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). Possible values are: ALL, AMOUNT_OFF, FREE_ITEMS, PERCENTAGE_OFF, REDUCED_UNIT_PRICE

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

IbanOrderPaymentDestination

Represents a payment destination for an IBAN

iban
String!,non-null

Bank account IBAN

paymentReference

The payment reference for bank transfer

Sample
{ "iban": "Example String", "paymentReference": "Example String" }

OrderReference

orderReferenceForCustomer

Order reference for customer

Sample
{ "orderReferenceForCustomer": "Example String" }

PriceAmount

Represents a price and the breakdown of this price

value
Float!,non-null

Amount

The breakdown of the amount

Sample
{ "value": 40, "breakdown": { "__typename": "AmountBreakdown" } }

Refund

Represents a refund made for an order line.

Refund's amount

createdDate

Refund's creation date

ecoContributions

List of eco-contribution amounts and corresponding producer identifiers, if applicable Only available if the operator activates the circular economy information collection.

id
ID!,non-null

Refund's id

quantity

The quantity of products canceled (This quantity is informative only)

reasonCode

Reason's code of the refund

Refund's shipping amount and shipping taxes

state
String!,non-null

Refund's state

taxes

The taxes on the price

Sample
{ "amount": { "__typename": "PriceAmount" }, "createdDate": "Example Custom Scalar", "ecoContributions": [ { "__typename": "EcoContribution" } ], "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "quantity": 40, "reasonCode": "Example String", "shippingAmount": { "__typename": "ShippingAmountAndTaxes" }, "state": "Example String", "taxes": [ { "__typename": "OrderTaxAmount" } ] }
Referenced in

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview