Types

Types

AddPaymentToOrderResult

Address

Adjustment

Administrator

AdministratorList

Allocation

AlreadyLoggedInError

Retured when attemting to set the Customer for an Order when already logged in.

ApplyCouponCodeResult

Asset

AssetList

AuthenticationMethod

AuthenticationResult

union AuthenticationResult = CurrentUser | InvalidCredentialsError | NotVerifiedError

Boolean

The Boolean scalar type represents true or false.

BooleanCustomFieldConfig

Cancellation

Channel

Collection

CollectionBreadcrumb

CollectionList

CollectionTranslation

ConfigArg

ConfigArgDefinition

ConfigurableOperation

ConfigurableOperationDefinition

Coordinate

Country

CountryList

CountryTranslation

CouponCodeExpiredError

Returned if the provided coupon code is invalid

CouponCodeInvalidError

Returned if the provided coupon code is invalid

CouponCodeLimitError

Returned if the provided coupon code is invalid

CurrentUser

CurrentUserChannel

CustomFieldConfig

CustomFields

Customer

CustomerGroup

CustomerList

DateTime

A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the date-time format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.

DateTimeCustomFieldConfig

Expects the same validation formats as the <input type="datetime-local"> HTML element. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes

DeletionResponse

EmailAddressConflictError

Retured when attemting to create a Customer with an email address already registered to an existing User.

Facet

FacetList

FacetTranslation

FacetValue

FacetValueResult

Which FacetValues are present in the products returned by the search, and in what quantity.

FacetValueTranslation

Float

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

FloatCustomFieldConfig

Fulfillment

GlobalSettings

HistoryEntry

HistoryEntryList

ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

IdentifierChangeTokenExpiredError

Retured if the token used to change a Customer’s email address is valid, but has expired according to the verificationTokenDuration setting in the AuthOptions.

IdentifierChangeTokenInvalidError

Retured if the token used to change a Customer’s email address is either invalid or does not match any expected tokens.

ImportInfo

IneligibleShippingMethodError

Returned when attempting to set a ShippingMethod for which the order is not eligible

InsufficientStockError

Returned when attempting to add more items to the Order than are available

Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

IntCustomFieldConfig

InvalidCredentialsError

Returned if the user authentication credentials are not valid

JSON

The JSON scalar type represents JSON values as specified by ECMA-404.

LocaleStringCustomFieldConfig

LocalizedString

MissingPasswordError

Retured when attemting to register or verify a customer account without a password, when one is required.

NativeAuthStrategyError

Retured when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured.

NativeAuthenticationResult

NegativeQuantityError

Retured when attemting to set a negative OrderLine quantity.

NotVerifiedError

Returned if authOptions.requireVerification is set to true (which is the default) and an unverified user attempts to authenticate.

Order

OrderAddress

OrderItem

OrderLimitError

Retured when the maximum order size limit has been reached.

OrderLine

OrderList

OrderModificationError

Returned when attempting to modify the contents of an Order that is not in the AddingItems state.

OrderPaymentStateError

Returned when attempting to add a Payment to an Order that is not in the ArrangingPayment state.

OrderProcessState

OrderStateTransitionError

Returned if there is an error in transitioning the Order state

OrderTaxSummary

A summary of the taxes being applied to this order, grouped by taxRate.

  • // The taxRate as a percentage
  • taxRate: Float!
  • // The total net price or OrderItems to which this taxRate applies
  • taxBase: Int!
  • // The total tax being applied to the Order at this taxRate
  • taxTotal: Int!

PasswordAlreadySetError

Retured when attemting to verify a customer account with a password, when a password has already been set.

PasswordResetTokenExpiredError

Retured if the token used to reset a Customer’s password is valid, but has expired according to the verificationTokenDuration setting in the AuthOptions.

PasswordResetTokenInvalidError

Retured if the token used to reset a Customer’s password is either invalid or does not match any expected tokens.

Payment

PaymentDeclinedError

Returned when a Payment is declined by the payment provider.

PaymentFailedError

Returned when a Payment fails due to an error.

PaymentMethod

PermissionDefinition

PriceRange

The price range where the result has more than one price

Product

ProductList

ProductOption

ProductOptionGroup

ProductOptionGroupTranslation

ProductOptionTranslation

ProductTranslation

ProductVariant

ProductVariantList

ProductVariantTranslation

Promotion

PromotionList

RefreshCustomerVerificationResult

union RefreshCustomerVerificationResult = Success | NativeAuthStrategyError

Refund

RegisterCustomerAccountResult

union RegisterCustomerAccountResult = Success | MissingPasswordError | NativeAuthStrategyError

Release

RemoveOrderItemsResult

union RemoveOrderItemsResult = Order | OrderModificationError

RequestPasswordResetResult

union RequestPasswordResetResult = Success | NativeAuthStrategyError

RequestUpdateCustomerEmailAddressResult

union RequestUpdateCustomerEmailAddressResult = Success | InvalidCredentialsError | EmailAddressConflictError | NativeAuthStrategyError

ResetPasswordResult

Return

Role

RoleList

Sale

SearchReindexResponse

SearchResponse

SearchResult

SearchResultAsset

SearchResultPrice

The price of a search result product, either as a range or as a single price

union SearchResultPrice = PriceRange | SinglePrice

ServerConfig

SetCustomerForOrderResult

union SetCustomerForOrderResult = Order | AlreadyLoggedInError | EmailAddressConflictError

SetOrderShippingMethodResult

union SetOrderShippingMethodResult = Order | OrderModificationError | IneligibleShippingMethodError

ShippingMethod

ShippingMethodList

ShippingMethodQuote

ShippingMethodTranslation

SinglePrice

The price value where the result has a single price

StockAdjustment

StockMovementItem

union StockMovementItem = StockAdjustment | Allocation | Sale | Cancellation | Return | Release

StockMovementList

String

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

StringCustomFieldConfig

StringFieldOption

Success

Indicates that an operation succeeded, where we do not want to return any more specific information.

TaxCategory

TaxRate

TaxRateList

TransitionOrderToStateResult

union TransitionOrderToStateResult = Order | OrderStateTransitionError

UpdateCustomerEmailAddressResult

UpdateCustomerPasswordResult

union UpdateCustomerPasswordResult = Success | InvalidCredentialsError | NativeAuthStrategyError

UpdateOrderItemsResult

Upload

The Upload scalar type represents a file upload.

User

VerificationTokenExpiredError

Returned if the verification token (used to verify a Customer’s email address) is valid, but has expired according to the verificationTokenDuration setting in the AuthOptions.

VerificationTokenInvalidError

Retured if the verification token (used to verify a Customer’s email address) is either invalid or does not match any expected tokens.

VerifyCustomerAccountResult

Zone