Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

OrderCustomer

Represents a customer who placed an order

Data related to the accounting contact in the organization. Null before shipping (or acceptance, depending on platform setting).

billingAddress

Customer's billing address. Null before shipping (or acceptance, depending on platform setting).

civility

Customer's civility

id
ID!,non-null

Customer's identifier

Data related to the delivery contact in the organization. Null before shipping (or acceptance, depending on platform setting).

email
String!,non-null

Customer's email

firstname
String!,non-null

Customer's first name

lastname
String!,non-null

Customer's last name

locale

Customer's locale

Data related to the organization that created the order (B2B transactions)

shippingAddress

Customer's Shipping address. Null before shipping (or acceptance, depending on platform setting).

Sample
{ "accountingContact": { "__typename": "OrderCustomerAccountingContact" }, "billingAddress": { "__typename": "OrderCustomerBillingAddress" }, "civility": "Example String", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "deliveryContact": { "__typename": "OrderCustomerDeliveryContact" }, "email": "Example String", "firstname": "Example String", "lastname": "Example String", "locale": "Example Custom Scalar", "organization": { "__typename": "CustomerOrganization" }, "shippingAddress": { "__typename": "OrderCustomerShippingAddress" } }
Referenced in

OrderStatus

Represents an order or order line status

state
String!,non-null

State

State reason

Sample
{ "state": "Example String", "reason": { "__typename": "OrderStatusReason" } }

OrderStatusReason

Represents the status reason

code

Reason's code of the state

label

Reason's label of the state

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

OrderCustomerAccountingContact

Represents a customer's accounting contact

civility

Customer contact's civility

email
String!,non-null

Customer contact's email

firstname
String!,non-null

Customer contact's firstname

lastname
String!,non-null

Customer contact's lastname

locale

Customer contact's locale

Sample
{ "civility": "Example String", "email": "Example String", "firstname": "Example String", "lastname": "Example String", "locale": "Example Custom Scalar" }

OrderCustomerBillingAddress

Represents a customer's billing 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 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
{ "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" }

OrderCustomerDeliveryContact

Represents a customer's delivery contact

civility

Customer contact's civility

email
String!,non-null

Customer contact's email

firstname
String!,non-null

Customer contact's firstname

lastname
String!,non-null

Customer contact's lastname

locale

Customer contact's locale

Sample
{ "civility": "Example String", "email": "Example String", "firstname": "Example String", "lastname": "Example String", "locale": "Example Custom Scalar" }

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

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview