Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

OrderShippingType

Represents an order's shipping type

code
String!,non-null

Code of shipping's type

label
String!,non-null

Label of shipping's type

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

OrderCustomerShippingAddress

Represents a customer's shipping address

additionalInfo

Additional information for the shipping address

city
String!,non-null

Address city

civility

Civility of the person associated with the address

company

Company of the person associated with the address

company2

Second company information of the person associated with the address

country
CountryCode!,non-null

Country ISO 3166-1 alpha-3 code of the address

firstname

First name of the person associated with the address

lastname
String!,non-null

Last name of the person associated with the address

phone

Phone number

phoneSecondary

Secondary phone number

state

Address state

street1
String!,non-null

First information line of the address street

street2

Second information line of the address street

zipCode

Address zip code

Sample
{ "additionalInfo": "Example String", "city": "Example String", "civility": "Example String", "company": "Example String", "company2": "Example String", "country": "Example Custom Scalar", "firstname": "Example String", "lastname": "Example String", "phone": "Example String", "phoneSecondary": "Example String", "state": "Example String", "street1": "Example String", "street2": "Example String", "zipCode": "Example String" }

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

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview