Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Refund

Represents a refund made for an order line.

Refund's amount

createdDate

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

Refund's id

quantity

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

reasonCode

Reason's code of the refund

Refund's shipping amount and shipping taxes

state
String!,non-null

Refund's state

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

ShippingAmountAndTaxes

Represents a shipping amount and the taxes on this shipping amount

Shipping amount

taxes

The taxes on the shipping price

Sample
{ "amount": { "__typename": "PriceAmount" }, "taxes": [ { "__typename": "OrderTaxAmount" } ] }

Shipment

Represents a shipment of an order items

createdDate
DateTime!,non-null

Shipment's creation date

id
ID!,non-null

Shipment id

invoiceReference

Shipment's invoice reference

Shipment's payment details

shipmentLines

Shipment lines

shippedDate

Shipment's shipped date.

status
String!,non-null

Shipment status. Possible values are: SHIPPING, READY_FOR_PICK_UP, SHIPMENT_PREPARED, SHIPPED, TO_COLLECT, RECEIVED, CANCELED, CLOSED.

statusCustomerDebit
String!,non-null

Shipment debit status. Possible values are: NO_DEBIT, NOT_STARTED, WAITING_TAX_CONFIRMATION, WAITING_OPERATOR_SYSTEM_CONTACT, WAITING_DEBIT_CONFIRMATION, DEBIT_OK, CANCELED

Shipment tracking details

Sample
{ "createdDate": "Example Custom Scalar", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "invoiceReference": "Example String", "paymentDetails": { "__typename": "ShipmentPaymentDetails" }, "shipmentLines": [ { "__typename": "ShipmentLine" } ], "shippedDate": "Example Custom Scalar", "status": "Example String", "statusCustomerDebit": "Example String", "tracking": { "__typename": "ShipmentTracking" } }
Referenced in

ShipmentPaymentDetails

Represents a shipment's payment information

customerDebitedDate
DateTime!,non-null

Payment's date of the shipment by the customer

Sample
{ "customerDebitedDate": "Example Custom Scalar" }

ShipmentLine

Represents a shipment line

offerSku

Offer sku

orderLine

Order line linked to the shipment line

packageReference

Package reference

quantity
Int!,non-null

Quantity

Sample
{ "offerSku": "Example String", "orderLine": { "__typename": "OrderLine" }, "packageReference": "Example String", "quantity": 40 }
Referenced in

ShipmentTracking

Represents a shipment tracking information

carrierCode

The code of a carrier. This information is mandatory for a registered carrier.

carrierName

The name of a carrier. This information is mandatory for an unregistered carrier.

trackingNumber

The carrier tracking number. This information is mandatory for a registered carrier with a URL requiring a tracking number.

trackingUrl

The tracking url of a carrier. This information is unused for registered carriers (because computed automatically). This information is optional for unregistered carriers.

Sample
{ "carrierCode": "Example String", "carrierName": "Example String", "trackingNumber": "Example String", "trackingUrl": "Example Custom Scalar" }
Referenced in

OrderDocuments

Represents all the documents available on an order

downloadUrl
Url!,non-null

Url to retrieve all order's documents

files

List of all order's documents

Sample
{ "downloadUrl": "Example Custom Scalar", "files": [ { "__typename": "OrderDocument" } ] }
Referenced in

OrderDocument

Represents an order's document

dateUploaded

Document uploaded date

downloadUrl
Url!,non-null

Url to retrieve this particular document

fileName
String!,non-null

Document file name

fileSize

Document file size

id
ID!,non-null

Document identifier

type
String!,non-null

Document type code

Sample
{ "dateUploaded": "Example Custom Scalar", "downloadUrl": "Example Custom Scalar", "fileName": "Example String", "fileSize": 40, "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "type": "Example String" }
Referenced in

PageInfo

Information about pagination in a connection.

endCursor

When paginating forwards, the cursor to continue.

hasNextPage
Boolean!,non-null

When paginating forwards, are there more items?

hasPreviousPage
Boolean!,non-null

When paginating backwards, are there more items?

startCursor

When paginating backwards, the cursor to continue.

Sample
{ "endCursor": "Example String", "hasNextPage": true, "hasPreviousPage": true, "startCursor": "Example String" }

Reason

code
String!,non-null

Reason code

customerRight
Boolean!,non-null

Indicate if reason is enabled to the customer

operatorRight
Boolean!,non-null

Indicate if reason is enabled to the operator

shopRight
Boolean!,non-null

Indicate if reason is enabled to the shop

label
String!,non-null

Reason label

type
String!,non-null

Type of the reason

Sample
{ "code": "Example String", "customerRight": true, "operatorRight": true, "shopRight": true, "label": "Example String", "type": "Example String" }

EvaluationConnection

edges

A list of edges.

pageInfo
PageInfo!,non-null

Information to aid in pagination.

totalCount
Long!,non-null

The total count of evaluations.

Implements interfaces

Sample
{ "edges": [ { "node": { "assessments": [ { "__typename": "Assessment" } ], "comment": "Example String", "customer": { "__typename": "ReviewCustomer" }, "date": "Example Custom Scalar", "grade": "Example Custom Scalar", "reply": { "__typename": "EvaluationReply" } } } ], "pageInfo": { "endCursor": "Example String", "hasNextPage": true, "hasPreviousPage": true, "startCursor": "Example String" }, "totalCount": "Example Custom Scalar" }
Referenced in

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview