Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

Interfaces

Overview

Unions

Overview

Inputs

Overview

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

CancelOrderLineInput

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)

The fees to be canceled

orderLineId
ID!,non-null

Order line's identifier that must be canceled

quantity
Int!,non-null

The quantity of goods to cancel

reasonCode
String!,non-null

Cancellation's reason code

The shipping charges with taxes to be canceled

Sample
{ "amount": { "__typename": "CancelledAmountInput" }, "currency": "Example Custom Scalar", "fees": [ { "__typename": "CancellationFeeInput" } ], "orderLineId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "quantity": 40, "reasonCode": "Example String", "shippingAmount": { "__typename": "CancelledShippingAmountInput" } }

CancellationFeeInput

amount

Order Fee amount

code

Order Fee code

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

CancelledAmountInput

amount

The offer part amount to be canceled

taxes

The taxes to be canceled on the product price (this field is required if the order has taxes)

Sample
{ "amount": 40, "taxes": [ { "__typename": "TaxAmountInput" } ] }

CancelledShippingAmountInput

amount

The shipping charges part amount to be canceled

taxes

The taxes to be canceled on the shipping price (this field is required if the order has shipping taxes)

Sample
{ "amount": 40, "taxes": [ { "__typename": "TaxAmountInput" } ] }

TaxAmountInput

amount

Tax amount

code

Tax code

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

EvaluationInput

assessments

List of the evaluation criteria expected by the operator.

comment

A brief comment associated with the evaluation to explain the mark

grade
Grade!,non-null

The global mark of the evaluation which is an integer among 0, 1, 2, 3, 4, 5.

visible

The visibility of the evaluation (visible by default)

Sample
{ "assessments": [ { "__typename": "AssessmentInput" } ], "comment": "Example String", "grade": "Example Custom Scalar", "visible": true }

AssessmentInput

code
String!,non-null

Code of the answered assessment

response
String!,non-null

Response associated with the assessment. The response is either:

  • a grade represented by an integer among 0, 1, 2, 3, 4, 5.
  • a boolean represented by a string whom possible values are : 'true', 'false'.
Sample
{ "code": "Example String", "response": "Example String" }

CreateThreadInput

attachments

Files to attach to the thread.

threadInput

New thread details.

Sample
{ "attachments": [ { "__typename": "AttachmentInput" } ], "threadInput": { "__typename": "ThreadDetailsInput" } }

Scalars

Overview