Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Unions

Overview

Inputs

Overview

ReceiveOrderInput

Represents the received order

id
ID!,non-null

The received order identifier

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }

PatchOrdersInput

orders

Orders to be updated, maximum number of orders per call: 100

Sample
{ "orders": [ { "__typename": "PatchOrderInput" } ] }

PatchOrderInput

Orders to be updated, maximum number of orders per call: 100

Customer information of the order (billing address)

id
ID!,non-null

Order identifier

Order references

Sample
{ "customer": { "__typename": "PatchOrderCustomerInput" }, "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "references": { "__typename": "PatchOrderReferencesInput" } }

PatchOrderCustomerInput

Customer information of the order (billing address)

Data related to the accounting contact in the organization

Customer billing address

Data related to the delivery contact in the organization

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

Sample
{ "accountingContact": { "__typename": "PatchOrderCustomerAccountingContactInput" }, "billingAddress": { "__typename": "PatchOrderCustomerBillingAddressInput" }, "deliveryContact": { "__typename": "PatchOrderCustomerDeliveryContactInput" }, "organization": { "__typename": "PatchOrderCustomerOrganizationInput" } }

PatchOrderCustomerAccountingContactInput

Data related to the accounting contact in the organization

customerId
Sample
{ "customerId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }

PatchOrderCustomerBillingAddressInput

Customer billing address

city

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 ISO 3166-1 code of the address

firstname

First name of the person associated with the address

lastname

Last name of the person associated with the address

phone

Phone

phoneSecondary

Phone secondary

state

Address state

street1

First information line of the address

street2

Second information line of the address

zipCode

Address zip code, mandatory with some exceptions

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" }

PatchOrderCustomerDeliveryContactInput

Data related to the delivery contact in the organization

customerId

Customer contact's civility

Sample
{ "customerId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }

PatchOrderCustomerOrganizationInput

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": "PatchOrderCustomerOrganizationAddressInput" }, "identificationNumber": "Example String", "name": "Example String", "taxIdentificationNumber": "Example String" }

PatchOrderCustomerOrganizationAddressInput

Address of the organization

city

Address city

Country ISO 3166-1 code of the address

state

Address state

street1

First information line of the address

street2

Second information line of the address

zipCode

Address zip code, mandatory with some exceptions

Sample
{ "city": "Example String", "country": "Example Custom Scalar", "state": "Example String", "street1": "Example String", "street2": "Example String", "zipCode": "Example String" }

PatchOrderReferencesInput

Order references

orderReferenceForCustomer

Order reference for customer, only operator and front can update this field. May not be blank.

Sample
{ "orderReferenceForCustomer": "Example String" }

CancelOrderLinesInput

cancelations

List of representations of cancellations to be created

taxMode

Please note: If the taxes are not specified, the prices with mode TAX_EXCLUDED and with mode TAX_INCLUDED will return the same amounts. Possible values:

  • TAX_EXCLUDED: the price fields (price, unit price, shipping price and order total prices) do not include taxes (taxes come on top of the price amount).
  • TAX_INCLUDED: the price fields include the tax amounts. If not specified, the default order tax mode of the platform is used.
Sample
{ "cancelations": [ { "__typename": "CancelOrderLineInput" } ], "taxMode": "Example String" }

Scalars

Overview