Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

CustomerOrganization

Represents a customer's organization details

Address of the organization. Required for new organizations. Null before shipping (or acceptance, depending on platform setting).

identificationNumber

Number used to identify the customer organization as an established business in a country. E.g: SIRET number in France, NIF in Spain. Required for new organizations. Null before shipping (or acceptance, depending on platform setting).

name

Name of the organization.

id
ID!,non-null

Customer's organization id (from the operator's system).

taxIdentificationNumber

Tax identification number of the organization. Null before shipping (or acceptance, depending on platform setting).

Sample
{ "address": { "__typename": "CustomerOrganizationAddress" }, "identificationNumber": "Example String", "name": "Example String", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "taxIdentificationNumber": "Example String" }

CustomerOrganizationAddress

Represents a customer's organization address

city
String!,non-null

Address city

country
CountryCode!,non-null

Country ISO 3166-1 code of the address

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
{ "city": "Example String", "country": "Example Custom Scalar", "state": "Example String", "street1": "Example String", "street2": "Example String", "zipCode": "Example String" }

OrderShipping

Represents an order's shipping information

deadline

Order's shipping deadline

price
Float!,non-null

Order's shipping price (sum of order line's shipping price)

pudoId

PickUp DropOff (PUDO) point identifier

type

Order shipping type

zone

Order shipping zone

Sample
{ "deadline": "Example Custom Scalar", "price": 40, "pudoId": "Example String", "type": { "__typename": "OrderShippingType" }, "zone": { "__typename": "OrderShippingZone" } }
Referenced in

OrderShippingZone

Represents an order's shipping zone

code
String!,non-null

Code of shipping's zone

label
String!,non-null

Label of shipping's zone

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

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 }

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview