ProductFilterInput Input Type
input ProductFilterInput {
isPublished: Boolean
collections: [ID!]
categories: [ID!]
hasCategory: Boolean
attributes: [AttributeInput!]
stockAvailability: StockAvailability
stocks: ProductStockFilterInput
search: String
metadata: [MetadataFilter!]
publishedFrom: DateTime
isAvailable: Boolean
availableFrom: DateTime
isVisibleInListing: Boolean
price: PriceRangeInput
minimalPrice: PriceRangeInput
updatedAt: DateTimeRangeInput
productTypes: [ID!]
giftCard: Boolean
ids: [ID!]
hasPreorderedVariants: Boolean @deprecated(reason: "Preorder is deprecated and will be removed. Model pre-sales with regular stock instead: create the planned quantity in a warehouse, or set `trackInventory` to false to sell without a stock limit.")
slugs: [String!]
channel: String @deprecated(reason: "Use root-level channel argument instead.")
}
Fields
isPublished
isPublished · Boolean
collections
collections · [ID!]
categories
categories · [ID!]
hasCategory
hasCategory · Boolean
attributes
attributes · [AttributeInput!]
stockAvailability
stockAvailability · StockAvailability
Filter by variants having specific stock status.
stocks
stocks · ProductStockFilterInput
search
search · String
metadata
metadata · [MetadataFilter!]
publishedFrom
publishedFrom · DateTime
Filter by the publication date.
isAvailable
isAvailable · Boolean
Filter by availability for purchase.
availableFrom
availableFrom · DateTime
Filter by the date of availability for purchase.
isVisibleInListing
isVisibleInListing · Boolean
Filter by visibility in product listings.
price
price · PriceRangeInput
minimalPrice
minimalPrice · PriceRangeInput
Filter by the lowest variant price after discounts.
updatedAt
updatedAt · DateTimeRangeInput
Filter by when was the most recent update.
productTypes
productTypes · [ID!]
giftCard
giftCard · Boolean
Filter on whether product is a gift card or not.
ids
ids · [ID!]
hasPreorderedVariants
hasPreorderedVariants · Boolean
Filter by product with preordered variants.
slugs
slugs · [String!]
channel
channel · String
Specifies the channel by which the data should be filtered.
Used by
Schema: Saleor 3.23.43. Download SDL.