Skip to main content
Version: 3.x

ProductFilterInput

No description

input ProductFilterInput {
isPublished: Boolean
collections: [ID!]
categories: [ID!]
hasCategory: Boolean
attributes: [AttributeInput!]
stockAvailability: StockAvailability
stocks: ProductStockFilterInput
search: String
metadata: [MetadataFilter!]
price: PriceRangeInput
minimalPrice: PriceRangeInput
updatedAt: DateTimeRangeInput
productTypes: [ID!]
giftCard: Boolean
ids: [ID!]
hasPreorderedVariants: Boolean
slugs: [String!]
channel: String
}

Fields

isPublished (Boolean)

collections ([ID!])

categories ([ID!])

hasCategory (Boolean)

attributes ([AttributeInput!])

stockAvailability (StockAvailability)

Filter by variants having specific stock status.

stocks (ProductStockFilterInput)

search (String)

metadata ([MetadataFilter!])

price (PriceRangeInput)

minimalPrice (PriceRangeInput)

Filter by the lowest variant price after discounts.

updatedAt (DateTimeRangeInput)

Filter by when was the most recent update.

productTypes ([ID!])

giftCard (Boolean)

Filter on whether product is a gift card or not.

ids ([ID!])

hasPreorderedVariants (Boolean)

slugs ([String!])

channel (String)

Specifies the channel by which the data should be filtered.

DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead.