Input Objects
AddItemInput
AddItemToDraftOrderInput
AddNoteToCustomerInput
AddNoteToOrderInput
AdjustDraftOrderLineInput
AdministratorFilterParameter
input AdministratorFilterParameter {
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
firstName: StringOperators
lastName: StringOperators
emailAddress: StringOperators
_and: [AdministratorFilterParameter!]
_or: [AdministratorFilterParameter!]
}
AdministratorListOptions
input AdministratorListOptions {
"""
Skips the first n results, for use in pagination
"""
skip: Int
"""
Takes n results, for use in pagination
"""
take: Int
"""
Specifies which properties to sort the results by
"""
"""
Allows the results to be filtered
"""
filter: AdministratorFilterParameter
"""
Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND.
"""
filterOperator: LogicalOperator
}
AdministratorPaymentInput
AdministratorRefundInput
input AdministratorRefundInput {
paymentId: ID!
reason: String
"""
The amount to be refunded to this particular Payment. This was introduced in
v2.2.0 as the preferred way to specify the refund amount. The
lines
, shipping
and adjustment
fields will be removed in a future version.
"""
amount: Money
}
AdministratorSortParameter
input AdministratorSortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
firstName: SortOrder
lastName: SortOrder
emailAddress: SortOrder
}
AssetFilterParameter
input AssetFilterParameter {
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
name: StringOperators
type: StringOperators
fileSize: NumberOperators
mimeType: StringOperators
width: NumberOperators
height: NumberOperators
source: StringOperators
preview: StringOperators
_and: [AssetFilterParameter!]
_or: [AssetFilterParameter!]
}
AssetListOptions
input AssetListOptions {
tags: [String!]
tagsOperator: LogicalOperator
"""
Skips the first n results, for use in pagination
"""
skip: Int
"""
Takes n results, for use in pagination
"""
take: Int
"""
Specifies which properties to sort the results by
"""
sort: AssetSortParameter
"""
Allows the results to be filtered
"""
filter: AssetFilterParameter
"""
Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND.
"""
filterOperator: LogicalOperator
}
AssetSortParameter
input AssetSortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
name: SortOrder
fileSize: SortOrder
mimeType: SortOrder
width: SortOrder
height: SortOrder
source: SortOrder
preview: SortOrder
}
AssignAssetsToChannelInput
AssignCollectionsToChannelInput
AssignFacetsToChannelInput
AssignPaymentMethodsToChannelInput
AssignProductVariantsToChannelInput
input AssignProductVariantsToChannelInput {
productVariantIds: [ID!]!
channelId: ID!
priceFactor: Float
}
AssignProductsToChannelInput
AssignPromotionsToChannelInput
AssignShippingMethodsToChannelInput
AssignStockLocationsToChannelInput
AuthenticationInput
BooleanListOperators
"""
Operators for filtering on a list of Boolean fields
"""
input BooleanListOperators {
inList: Boolean!
}
BooleanOperators
CancelOrderInput
input CancelOrderInput {
"""
The id of the order to be cancelled
"""
orderId: ID!
"""
Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled
"""
lines: [OrderLineInput!]
"""
Specify whether the shipping charges should also be cancelled. Defaults to false
"""
cancelShipping: Boolean
reason: String
}
ChannelFilterParameter
input ChannelFilterParameter {
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
code: StringOperators
token: StringOperators
defaultLanguageCode: StringOperators
currencyCode: StringOperators
defaultCurrencyCode: StringOperators
trackInventory: BooleanOperators
outOfStockThreshold: NumberOperators
pricesIncludeTax: BooleanOperators
_and: [ChannelFilterParameter!]
_or: [ChannelFilterParameter!]
}
ChannelListOptions
input ChannelListOptions {
"""
Skips the first n results, for use in pagination
"""
skip: Int
"""
Takes n results, for use in pagination
"""
take: Int
"""
Specifies which properties to sort the results by
"""
sort: ChannelSortParameter
"""
Allows the results to be filtered
"""
filter: ChannelFilterParameter
"""
Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND.
"""
filterOperator: LogicalOperator
}
ChannelSortParameter
input ChannelSortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
code: SortOrder
token: SortOrder
outOfStockThreshold: SortOrder
}
CollectionFilterParameter
input CollectionFilterParameter {
isPrivate: BooleanOperators
inheritFilters: BooleanOperators
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
languageCode: StringOperators
name: StringOperators
slug: StringOperators
position: NumberOperators
description: StringOperators
parentId: IDOperators
_and: [CollectionFilterParameter!]
_or: [CollectionFilterParameter!]
}
CollectionListOptions
input CollectionListOptions {
topLevelOnly: Boolean
"""
Skips the first n results, for use in pagination
"""
skip: Int
"""
Takes n results, for use in pagination
"""
take: Int
"""
Specifies which properties to sort the results by
"""
sort: CollectionSortParameter
"""
Allows the results to be filtered
"""
filter: CollectionFilterParameter
"""
Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND.
"""
filterOperator: LogicalOperator
}
CollectionSortParameter
input CollectionSortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
name: SortOrder
slug: SortOrder
position: SortOrder
description: SortOrder
parentId: SortOrder
}
ConfigArgInput
input ConfigArgInput {
name: String!
"""
A JSON stringified representation of the actual value
"""
value: String!
}
ConfigurableOperationInput
CoordinateInput
CountryFilterParameter
input CountryFilterParameter {
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
languageCode: StringOperators
code: StringOperators
type: StringOperators
name: StringOperators
enabled: BooleanOperators
parentId: IDOperators
_and: [CountryFilterParameter!]
_or: [CountryFilterParameter!]
}
CountryListOptions
input CountryListOptions {
"""
Skips the first n results, for use in pagination
"""
skip: Int
"""
Takes n results, for use in pagination
"""
take: Int
"""
Specifies which properties to sort the results by
"""
sort: CountrySortParameter
"""
Allows the results to be filtered
"""
filter: CountryFilterParameter
"""
Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND.
"""
filterOperator: LogicalOperator
}
CountrySortParameter
input CountrySortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
code: SortOrder
type: SortOrder
name: SortOrder
parentId: SortOrder
}
CountryTranslationInput
CreateAddressInput
"""
Input used to create an Address.
The countryCode must correspond to a
code
property of a Country that has been defined in theVendure server. The
code
property is typically a 2-character ISO code such as "GB", "US", "DE" etc.If an invalid code is passed, the mutation will fail.
"""
input CreateAddressInput {
fullName: String
company: String
streetLine1: String!
streetLine2: String
city: String
province: String
postalCode: String
countryCode: String!
phoneNumber: String
defaultShippingAddress: Boolean
defaultBillingAddress: Boolean
customFields: JSON
}
CreateAdministratorInput
input CreateAdministratorInput {
firstName: String!
lastName: String!
emailAddress: String!
password: String!
roleIds: [ID!]!
customFields: JSON
}
CreateAssetInput
CreateChannelInput
input CreateChannelInput {
code: String!
token: String!
defaultLanguageCode: LanguageCode!
availableLanguageCodes: [LanguageCode!]
pricesIncludeTax: Boolean!
currencyCode: CurrencyCode
defaultCurrencyCode: CurrencyCode
availableCurrencyCodes: [CurrencyCode!]
trackInventory: Boolean
outOfStockThreshold: Int
defaultTaxZoneId: ID!
defaultShippingZoneId: ID!
sellerId: ID
customFields: JSON
}
CreateCollectionInput
input CreateCollectionInput {
isPrivate: Boolean
featuredAssetId: ID
assetIds: [ID!]
parentId: ID
inheritFilters: Boolean
filters: [ConfigurableOperationInput!]!
translations: [CreateCollectionTranslationInput!]!
customFields: JSON
}
CreateCollectionTranslationInput
input CreateCollectionTranslationInput {
languageCode: LanguageCode!
name: String!
slug: String!
description: String!
customFields: JSON
}
CreateCountryInput
input CreateCountryInput {
code: String!
translations: [CountryTranslationInput!]!
enabled: Boolean!
customFields: JSON
}
CreateCustomerGroupInput
CreateCustomerInput
input CreateCustomerInput {
title: String
firstName: String!
lastName: String!
phoneNumber: String
emailAddress: String!
customFields: JSON
}
CreateFacetInput
input CreateFacetInput {
code: String!
isPrivate: Boolean!
translations: [FacetTranslationInput!]!
values: [CreateFacetValueWithFacetInput!]
customFields: JSON
}
CreateFacetValueInput
input CreateFacetValueInput {
facetId: ID!
code: String!
translations: [FacetValueTranslationInput!]!
customFields: JSON
}
CreateFacetValueWithFacetInput
CreateGroupOptionInput
CreatePaymentMethodInput
input CreatePaymentMethodInput {
code: String!
enabled: Boolean!
checker: ConfigurableOperationInput
handler: ConfigurableOperationInput!
translations: [PaymentMethodTranslationInput!]!
customFields: JSON
}
CreateProductInput
input CreateProductInput {
featuredAssetId: ID
enabled: Boolean
assetIds: [ID!]
facetValueIds: [ID!]
translations: [ProductTranslationInput!]!
customFields: JSON
}
CreateProductOptionGroupInput
input CreateProductOptionGroupInput {
code: String!
translations: [ProductOptionGroupTranslationInput!]!
options: [CreateGroupOptionInput!]!
customFields: JSON
}
CreateProductOptionInput
input CreateProductOptionInput {
productOptionGroupId: ID!
code: String!
translations: [ProductOptionGroupTranslationInput!]!
customFields: JSON
}
CreateProductVariantInput
input CreateProductVariantInput {
productId: ID!
translations: [ProductVariantTranslationInput!]!
facetValueIds: [ID!]
sku: String!
price: Money
taxCategoryId: ID
optionIds: [ID!]
featuredAssetId: ID
assetIds: [ID!]
stockOnHand: Int
stockLevels: [StockLevelInput!]
outOfStockThreshold: Int
useGlobalOutOfStockThreshold: Boolean
trackInventory: GlobalFlag
customFields: JSON
}
CreateProductVariantOptionInput
input CreateProductVariantOptionInput {
optionGroupId: ID!
code: String!
translations: [ProductOptionTranslationInput!]!
}
CreatePromotionInput
input CreatePromotionInput {
enabled: Boolean!
startsAt: DateTime
endsAt: DateTime
couponCode: String
perCustomerUsageLimit: Int
usageLimit: Int
conditions: [ConfigurableOperationInput!]!
actions: [ConfigurableOperationInput!]!
translations: [PromotionTranslationInput!]!
customFields: JSON
}
CreateProvinceInput
input CreateProvinceInput {
code: String!
translations: [ProvinceTranslationInput!]!
enabled: Boolean!
customFields: JSON
}
CreateRoleInput
input CreateRoleInput {
code: String!
description: String!
permissions: [Permission!]!
channelIds: [ID!]
}
CreateSellerInput
CreateShippingMethodInput
input CreateShippingMethodInput {
code: String!
fulfillmentHandler: String!
checker: ConfigurableOperationInput!
calculator: ConfigurableOperationInput!
translations: [ShippingMethodTranslationInput!]!
customFields: JSON
}
CreateStockLocationInput
CreateTagInput
CreateTaxCategoryInput
CreateTaxRateInput
input CreateTaxRateInput {
name: String!
enabled: Boolean!
value: Float!
categoryId: ID!
zoneId: ID!
customerGroupId: ID
customFields: JSON
}
CreateZoneInput
CustomerFilterParameter
input CustomerFilterParameter {
postalCode: StringOperators
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
title: StringOperators
firstName: StringOperators
lastName: StringOperators
phoneNumber: StringOperators
emailAddress: StringOperators
_and: [CustomerFilterParameter!]
_or: [CustomerFilterParameter!]
}
CustomerGroupFilterParameter
input CustomerGroupFilterParameter {
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
name: StringOperators
_and: [CustomerGroupFilterParameter!]
_or: [CustomerGroupFilterParameter!]
}
CustomerGroupListOptions
input CustomerGroupListOptions {
"""
Skips the first n results, for use in pagination
"""
skip: Int
"""
Takes n results, for use in pagination
"""
take: Int
"""
Specifies which properties to sort the results by
"""
"""
Allows the results to be filtered
"""
filter: CustomerGroupFilterParameter
"""
Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND.
"""
filterOperator: LogicalOperator
}
CustomerGroupSortParameter
input CustomerGroupSortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
name: SortOrder
}
CustomerListOptions
input CustomerListOptions {
"""
Skips the first n results, for use in pagination
"""
skip: Int
"""
Takes n results, for use in pagination
"""
take: Int
"""
Specifies which properties to sort the results by
"""
sort: CustomerSortParameter
"""
Allows the results to be filtered
"""
filter: CustomerFilterParameter
"""
Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND.
"""
filterOperator: LogicalOperator
}
CustomerSortParameter
input CustomerSortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
title: SortOrder
firstName: SortOrder
lastName: SortOrder
phoneNumber: SortOrder
emailAddress: SortOrder
}
DateListOperators
DateOperators
"""
Operators for filtering on a DateTime field
"""
input DateOperators {
eq: DateTime
before: DateTime
after: DateTime
between: DateRange
isNull: Boolean
}
DateRange
DeleteAssetInput
DeleteAssetsInput
DeleteStockLocationInput
DuplicateEntityInput
input DuplicateEntityInput {
entityName: String!
entityId: ID!
duplicatorInput: ConfigurableOperationInput!
}
FacetFilterParameter
input FacetFilterParameter {
isPrivate: BooleanOperators
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
languageCode: StringOperators
name: StringOperators
code: StringOperators
_and: [FacetFilterParameter!]
_or: [FacetFilterParameter!]
}
FacetListOptions
input FacetListOptions {
"""
Skips the first n results, for use in pagination
"""
skip: Int
"""
Takes n results, for use in pagination
"""
take: Int
"""
Specifies which properties to sort the results by
"""
sort: FacetSortParameter
"""
Allows the results to be filtered
"""
filter: FacetFilterParameter
"""
Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND.
"""
filterOperator: LogicalOperator
}
FacetSortParameter
input FacetSortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
name: SortOrder
code: SortOrder
}
FacetTranslationInput
FacetValueFilterInput
"""
Used to construct boolean expressions for filtering search results
by FacetValue ID. Examples:
* ID=1 OR ID=2:
{ facetValueFilters: [{ or: [1,2] }] }
* ID=1 AND ID=2:
{ facetValueFilters: [{ and: 1 }, { and: 2 }] }
* ID=1 AND (ID=2 OR ID=3):
{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }
"""
input FacetValueFilterInput {
and: ID
or: [ID!]
}
FacetValueFilterParameter
input FacetValueFilterParameter {
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
languageCode: StringOperators
facetId: IDOperators
name: StringOperators
code: StringOperators
_and: [FacetValueFilterParameter!]
_or: [FacetValueFilterParameter!]
}