ProductWhereInput Input Type
input ProductWhereInput {
metadata: [MetadataFilter!]
ids: [ID!]
name: StringFilterInput
slug: StringFilterInput
externalReference: StringFilterInput
productType: GlobalIDFilterInput
category: GlobalIDFilterInput
collection: GlobalIDFilterInput
isAvailable: Boolean
isPublished: Boolean
isVisibleInListing: Boolean
publishedFrom: DateTime
availableFrom: DateTime
hasCategory: Boolean
price: DecimalFilterInput
minimalPrice: DecimalFilterInput
attributes: [AttributeInput!]
stockAvailability: StockAvailability
stocks: ProductStockFilterInput
giftCard: Boolean
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.")
updatedAt: DateTimeFilterInput
AND: [ProductWhereInput!]
OR: [ProductWhereInput!]
}
Fields
metadata
metadata · [MetadataFilter!]
ids
ids · [ID!]
name
name · StringFilterInput
Filter by product name.
slug
slug · StringFilterInput
Filter by product slug.
externalReference
externalReference · StringFilterInput
Filter by external reference.
Added in Saleor 3.23productType
productType · GlobalIDFilterInput
Filter by product type.
category
category · GlobalIDFilterInput
Filter by product category.
collection
collection · GlobalIDFilterInput
Filter by collection.
isAvailable
isAvailable · Boolean
Filter by availability for purchase.
isPublished
isPublished · Boolean
Filter by public visibility.
isVisibleInListing
isVisibleInListing · Boolean
Filter by visibility on the channel.
publishedFrom
publishedFrom · DateTime
Filter by the publication date.
availableFrom
availableFrom · DateTime
Filter by the date of availability for purchase.
hasCategory
hasCategory · Boolean
Filter by product with category assigned.
price
price · DecimalFilterInput
Filter by product variant price.
minimalPrice
minimalPrice · DecimalFilterInput
Filter by the lowest variant price after discounts.
attributes
attributes · [AttributeInput!]
Filter by attributes associated with the product.
stockAvailability
stockAvailability · StockAvailability
Filter by variants having specific stock status.
stocks
stocks · ProductStockFilterInput
Filter by stock of the product variant.
giftCard
giftCard · Boolean
Filter on whether product is a gift card or not.
hasPreorderedVariants
hasPreorderedVariants · Boolean
Filter by product with preordered variants.
updatedAt
updatedAt · DateTimeFilterInput
Filter by when was the most recent update.
AND
AND · [ProductWhereInput!]
List of conditions that must be met.
OR
OR · [ProductWhereInput!]
A list of conditions of which at least one must be met.
Used by
Schema: Saleor 3.23.43. Download SDL.