productVariants
List of product variants.
productVariants(
  ids: [ID!]
  channel: String
  filter: ProductVariantFilterInput
  where: ProductVariantWhereInput
  sortBy: ProductVariantSortingInput
  before: String
  after: String
  first: Int
  last: Int
): ProductVariantCountableConnection
Arguments
productVariants.ids ● [ID!] list scalar miscellaneous
Filter product variants by given IDs.
productVariants.channel ● String scalar miscellaneous
Slug of a channel for which the data should be returned.
productVariants.filter ● ProductVariantFilterInput input products
Filtering options for product variant.
productVariants.where ● ProductVariantWhereInput input products
Where filtering options.
Added in Saleor 3.14This API is currently in Feature Preview and can be subject to changes at later point.
productVariants.sortBy ● ProductVariantSortingInput input products
Sort products variants.
productVariants.before ● String scalar miscellaneous
Return the elements in the list that come before the specified cursor.
productVariants.after ● String scalar miscellaneous
Return the elements in the list that come after the specified cursor.
productVariants.first ● Int scalar miscellaneous
Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
productVariants.last ● Int scalar miscellaneous
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.