Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

DeliveryDateTimeInterval

Represents an order's delivery interval

earliest
DateTime!,non-null

Earliest order delivery date

latest
DateTime!,non-null

Latest order delivery date

Sample
{ "earliest": "Example Custom Scalar", "latest": "Example Custom Scalar" }
Referenced in

OrderInvoice

Represents an order's invoice information

documentDetails

Invoice document information

paymentTerms

Payment terms

Sample
{ "documentDetails": [ { "__typename": "OrderInvoiceDetail" } ], "paymentTerms": { "__typename": "PaymentTerms" } }
Referenced in

OrderInvoiceDetail

Represents the details of an invoice document associated with an order.

format

Accounting document format. Possible values: PDFm cXML

Sample
{ "format": "Example String" }

PaymentTerms

days

Number of days

type

Payment terms type. Possible values:

  • END_OF_MONTH: payment is due after a number of calendar days following the invoice issue date, at the end of the given month.
  • NET: payment is due after a number of calendar days following the invoice issue date.
Sample
{ "days": 40, "type": "Example String" }

OrderLine

Represents an order's item

canOpenIncident

Indicate if an incident can be opened on the order line

cancelations

List of the cancellations

history

Order line's history

description
String!,non-null

Order line's description

ecoContributions

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

Measurement information of the order line

offer

Associated offer

additionalFields

List of additional fields

id
ID!,non-null

Order line's identifier

index
Int!,non-null

Order line's index in the order

status
OrderStatus!,non-null

Order line's status

originUnitPrice

The original unit price of the offer associated with the order line

price
PriceAmount!,non-null

Order line's price without shipping price

priceUnit
Float!,non-null

Unit price for the offer associated with the order line

promotions

List of promotions

quantity
Int!,non-null

Product's quantity for the order line

refunds
[Refund!]!,non-null

List of the refunds

shippingPrice

Order line's shipping amount and shipping taxes

taxes

List of taxes applied on product price

totalPrice
Float!,non-null

Order line's price with shipping price.

Sample
{ "canOpenIncident": true, "cancelations": [ { "__typename": "Cancelation" } ], "history": { "__typename": "OrderLineHistory" }, "description": "Example String", "ecoContributions": [ { "__typename": "EcoContribution" } ], "measurement": { "__typename": "OrderLineProductMeasurement" }, "offer": { "__typename": "OrderLineOffer" }, "additionalFields": [ { "__typename": "BooleanAdditionalFieldValue" } ], "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "index": 40, "status": { "__typename": "OrderStatus" }, "originUnitPrice": 40, "price": { "__typename": "PriceAmount" }, "priceUnit": 40, "promotions": [ { "__typename": "AppliedPromotion" } ], "quantity": 40, "refunds": [ { "__typename": "Refund" } ], "shippingPrice": { "__typename": "ShippingAmountAndTaxes" }, "taxes": [ { "__typename": "OrderTaxAmount" } ], "totalPrice": 40 }

OrderLineHistory

Represents an order line's history

createdDate
DateTime!,non-null

Order line's creation date

debitedDate

Order line's debited date

receivedDate

Product's date of receipt

shippedDate

Order line's shipped date

Sample
{ "createdDate": "Example Custom Scalar", "debitedDate": "Example Custom Scalar", "receivedDate": "Example Custom Scalar", "shippedDate": "Example Custom Scalar" }
Referenced in

OrderLineCategory

Represents a product's category

code
String!,non-null

Category code of the product associated with the order line

label
String!,non-null

Category label of the product associated with the order line

Sample
{ "code": "Example String", "label": "Example String" }

OrderLineOffer

Represents an offer linked to an order line

priceAdditionalInfo

Price's additional information of the offer

product

Product information

sku
String!,non-null

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

stateCode
String!,non-null

State of the offer associated with the order line

Sample
{ "priceAdditionalInfo": "Example String", "product": { "__typename": "OrderLineProduct" }, "sku": "Example String", "stateCode": "Example String" }
Referenced in

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

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview