Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

OrderUpdatedCustomerOrganization

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

Address of the organization

identificationNumber

Identification number of the organization

name

Name of the organization

taxIdentificationNumber

Tax identification number of the organization

Sample
{ "address": { "__typename": "CustomerOrganizationAddress" }, "identificationNumber": "Example String", "name": "Example String", "taxIdentificationNumber": "Example String" }

OrderUpdatedOrderLine

Details of the modified order line

cancelations

List of cancelations

ecoContributions

List of eco-contribution amounts and corresponding producer identifiers, if applicable

orderLineId
ID!,non-null

Order line identifier

refunds

List of refunds

Sample
{ "cancelations": [ { "__typename": "OrderUpdatedCancelation" } ], "ecoContributions": [ { "__typename": "OrderUpdatesEcoContribution" } ], "orderLineId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "refunds": [ { "__typename": "OrderUpdatedRefund" } ] }

OrderUpdatedCancelation

cancelationId

Cancelation identifier

ecoContributions

List of eco-contribution amounts and corresponding producer identifiers, if applicable

Sample
{ "cancelationId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "ecoContributions": [ { "__typename": "OrderUpdatesEcoContribution" } ] }

OrderUpdatesEcoContribution

eprCategoryCode

Extended Producer Responsibility category

producerId

Producer identifier of the eco-contribution. Not present if the producer identifier belongs to the operator.

producerIdOwner

Owner of the producerId

totalAmount

Total amount of the eco-contribution

unitAmount

Unit amount of the eco-contribution

Sample
{ "eprCategoryCode": "Example String", "producerId": "Example String", "producerIdOwner": "Example String", "totalAmount": 40, "unitAmount": 40 }

OrderUpdatedRefund

refundId

Refund identifier

ecoContributions

List of eco-contribution amounts and corresponding producer identifiers, if applicable

Sample
{ "refundId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "ecoContributions": [ { "__typename": "OrderUpdatesEcoContribution" } ] }

ShopStatistics

excluded

Order exclusion from seller statistics. Indicate if true or false

reason

Reason of order exclusion from shop statistics. Ignored if EXCLUDED is FALSE. Max length: 100 characters.

Sample
{ "excluded": true, "reason": "Example String" }

PatchOrderError

code
String!,non-null

Error code

field
String!,non-null

Name of the field on the input object. Can be composed, e.g.: address.zip_code

message
String!,non-null

Error message

Sample
{ "code": "Example String", "field": "Example String", "message": "Example String" }

PatchOrdersResponse

updatedOrders

A list of updated orders and orders in error objects

Sample
{ "updatedOrders": [ { "__typename": "PatchOrdersUpdatedOrder" } ] }

CancelOrderLinesResponse

cancelledOrderLines
taxMode
String!,non-null
Sample
{ "cancelledOrderLines": [ { "__typename": "CancelledOrderLine" } ], "taxMode": "Example String" }

CancelledOrderLine

The offer part amount to be canceled with taxes

currency

The currency (iso format) used by the shop (the field is required if the shop is not using the default Operator platform currency)

ecoContributions

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

fees

List of fees canceled on the order line

id
ID!,non-null

The identifier of the created cancellation

orderLineId
ID!,non-null

Order line's identifier on which the cancellation has been created

Cancelation’s purchase information

quantity

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

reasonCode

Cancellation reason's code

Cancellation's shipping amount and shipping taxes

Sample
{ "amount": { "__typename": "CancelledPriceAmountAndTaxes" }, "currency": "Example Custom Scalar", "ecoContributions": [ { "__typename": "EcoContribution" } ], "fees": [ { "__typename": "FeeCancelled" } ], "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "orderLineId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "purchaseInformation": { "__typename": "CancelationPurchaseInformation" }, "quantity": 40, "reasonCode": "Example String", "shippingAmount": { "__typename": "ShippingAmountAndTaxes" } }

FeeCancelled

amount

Order Fee amount

code

Order Fee code

Sample
{ "amount": 40, "code": "Example String" }

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview