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
}
"""
Input used to create an Address.
The countryCode must correspond to a `code` property of a Country that has been defined in the
Vendure 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
}
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
}
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
}
input FacetValueListOptions {
"""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: FacetValueSortParameter
"""Allows the results to be filtered"""
filter: FacetValueFilterParameter
"""Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND."""
filterOperator: LogicalOperator
}
input HistoryEntryListOptions {
"""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: HistoryEntrySortParameter
"""Allows the results to be filtered"""
filter: HistoryEntryFilterParameter
"""Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND."""
filterOperator: LogicalOperator
}
input OrderFilterParameter {
id: IDOperators
createdAt: DateOperators
updatedAt: DateOperators
type: StringOperators
"""
The date & time that the Order was placed, i.e. the Customer
completed the checkout and the Order is no longer "active"
"""
orderPlacedAt: DateOperators
"""A unique code for the Order"""
code: StringOperators
state: StringOperators
"""An order is active as long as the payment process has not been completed"""
active: BooleanOperators
totalQuantity: NumberOperators
"""
The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level
discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine.
To get a total of all OrderLines which does not account for prorated discounts, use the
sum of `OrderLine.discountedLinePrice` values.
"""
subTotal: NumberOperators
"""Same as subTotal, but inclusive of tax"""
subTotalWithTax: NumberOperators
currencyCode: StringOperators
shipping: NumberOperators
shippingWithTax: NumberOperators
"""Equal to subTotal plus shipping"""
total: NumberOperators
"""The final payable amount. Equal to subTotalWithTax plus shippingWithTax"""
totalWithTax: NumberOperators
_and: [OrderFilterParameter!]
_or: [OrderFilterParameter!]
}
OrderListOptions
inputOrderListOptions
input OrderListOptions {
"""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: OrderSortParameter
"""Allows the results to be filtered"""
filter: OrderFilterParameter
"""Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND."""
filterOperator: LogicalOperator
}
OrderSortParameter
inputOrderSortParameter
input OrderSortParameter {
id: SortOrder
createdAt: SortOrder
updatedAt: SortOrder
"""
The date & time that the Order was placed, i.e. the Customer
completed the checkout and the Order is no longer "active"
"""
orderPlacedAt: SortOrder
"""A unique code for the Order"""
code: SortOrder
state: SortOrder
totalQuantity: SortOrder
"""
The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level
discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine.
To get a total of all OrderLines which does not account for prorated discounts, use the
sum of `OrderLine.discountedLinePrice` values.
"""
subTotal: SortOrder
"""Same as subTotal, but inclusive of tax"""
subTotalWithTax: SortOrder
shipping: SortOrder
shippingWithTax: SortOrder
"""Equal to subTotal plus shipping"""
total: SortOrder
"""The final payable amount. Equal to subTotalWithTax plus shippingWithTax"""
totalWithTax: SortOrder
}
PaymentInput
inputPaymentInput
"""Passed as input to the `addPaymentToOrder` mutation."""
input PaymentInput {
"""This field should correspond to the `code` property of a PaymentMethod."""
method: String!
"""
This field should contain arbitrary data passed to the specified PaymentMethodHandler's `createPayment()` method
as the "metadata" argument. For example, it could contain an ID for the payment and other
data generated by the payment provider.
"""
metadata: JSON!
}
input ProductListOptions {
"""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: ProductSortParameter
"""Allows the results to be filtered"""
filter: ProductFilterParameter
"""Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND."""
filterOperator: LogicalOperator
}
input ProductVariantListOptions {
"""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: ProductVariantSortParameter
"""Allows the results to be filtered"""
filter: ProductVariantFilterParameter
"""Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND."""
filterOperator: LogicalOperator
}
"""Operators for filtering on a list of String fields"""
input StringListOperators {
inList: String!
}
StringOperators
inputStringOperators
"""Operators for filtering on a String field"""
input StringOperators {
eq: String
notEq: String
contains: String
notContains: String
in: [String!]
notIn: [String!]
regex: String
isNull: Boolean
}
UpdateAddressInput
inputUpdateAddressInput
"""
Input used to update an Address.
The countryCode must correspond to a `code` property of a Country that has been defined in the
Vendure 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 UpdateAddressInput {
id: ID!
fullName: String
company: String
streetLine1: String
streetLine2: String
city: String
province: String
postalCode: String
countryCode: String
phoneNumber: String
defaultShippingAddress: Boolean
defaultBillingAddress: Boolean
customFields: JSON
}