Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Unions

Overview

Inputs

Overview

OrderReferencesInput

Order references

orderReferenceForCustomer

Order reference for customer. May not be blank.

Sample
{ "orderReferenceForCustomer": "Example String" }

OrderOfferInput

Represents an offer of the commercial order

adjustmentLimit

If used, the provided adjustment limit should be less than the one at the platform level.

currency

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

Expected order delivery date

offerId
String!,non-null

Offer's identifier

offerPrice
Float!,non-null

Offer's price

orderLineAdditionalFields

Additional fields of the order lines

orderLineId

Optional order line's id If used, the provided id should be unique for the whole database. Otherwise an error will occur.

originUnitPrice

The original unit price of the offer associated with the order line

price
Float!,non-null

Price without shipping price (offer_price * quantity)

quantity
Int!,non-null

Offer's quantity requested

shippingDeadline

Order's shipping deadline. If specified, business closing days configuration will be ignored.

Describe from where the offer is shipped

shippingPrice
Float!,non-null

Shipping price

shippingPudoId

PickUp DropOff (PUDO) point identifier

The taxes to be applied on the shipping price

shippingTypeCode
String!,non-null

Shipping type code

The taxes to be applied on the product price

Sample
{ "adjustmentLimit": 40, "currency": "Example Custom Scalar", "deliveryDate": { "__typename": "DeliveryDateTimeIntervalInput" }, "offerId": "Example String", "offerPrice": 40, "orderLineAdditionalFields": [ { "__typename": "AdditionalFieldValueInput" } ], "orderLineId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "originUnitPrice": 40, "price": 40, "quantity": 40, "shippingDeadline": "Example Custom Scalar", "shippingFrom": { "__typename": "OrderShippingFromInput" }, "shippingPrice": 40, "shippingPudoId": "Example String", "shippingTaxes": [ { "__typename": "OrderTaxAmountInput" } ], "shippingTypeCode": "Example String", "taxes": [ { "__typename": "OrderTaxAmountInput" } ] }

OrderTaxAmountInput

Represents the amount of a tax.

amount
Float!,non-null

Tax amount

code
String!,non-null

Tax code

rate

Tax rate

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

OrderShippingFromInput

Describe from where the offer is shipped

Describe the address from where the offer is shipped

Sample
{ "address": { "__typename": "OrderShippingFromAddressInput" } }

OrderShippingFromAddressInput

Describe the address from where the offer is shipped

city

Address City

country
CountryCode!,non-null

Address Country ISO 3166-1 alpha-3 code (3 letters country code)

state

Address State

street1

First information line of the address

street2

Second information line of the address

zipCode

Address Zip code

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

DeliveryDateTimeIntervalInput

Expected order delivery date

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

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

Scalars

Overview