Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

OrderLineProduct

Represents a product linked to an order line

media

List of all product's media associated to the order line

sku
String!,non-null

Associated offer sku (this is the sku of the offer defined by the shop)

title
String!,non-null

Title of the product associated with the order line

category

Product's category information

Sample
{ "media": [ { "__typename": "ProductMedia" } ], "sku": "Example String", "title": "Example String", "category": { "__typename": "OrderLineCategory" } }
Referenced in

Cancelation

Cancelation represents the cancellation details of an order item (OrderLine).

Cancellation's amount

createdDate

Cancellation'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

Cancellation's id

quantity

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

reasonCode

Cancellation reason's code

Cancellation's shipping amount and shipping taxes

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" }, "taxes": [ { "__typename": "OrderTaxAmount" } ] }
Referenced in

AmountBreakdown

Represent a breakdown of an amount

The parts which constitute the total amount.

Sample
{ "parts": [ { "__typename": "AmountBreakdownPart" } ] }

AmountBreakdownPart

Represent a part of an amount. The sum of each part's amount is equal to the total amount.

amount
Float!,non-null

Part's amount. The sum of each part's amount is equal to the total amount.

debitableFromCustomer
Boolean!,non-null

Should this amount be debited to the customer. If true, the amount is taken into account when generating the debit file. If false, the amount is not taken into account when generating the debit file.

Sample
{ "amount": 40, "debitableFromCustomer": true }
Referenced in

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

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview