productVariants
List of product variants.
productVariants(
ids: [ID!]
channel: String
filter: ProductVariantFilterInput
sortBy: ProductVariantSortingInput
before: String
after: String
first: Int
last: Int
): ProductVariantCountableConnection
Arguments
productVariants.ids ● [ID!] list scalar
Filter product variants by given IDs.
productVariants.channel ● String scalar
Slug of a channel for which the data should be returned.
productVariants.filter ● ProductVariantFilterInput input
Filtering options for product variant.
productVariants.sortBy ● ProductVariantSortingInput input
Sort products variants.
productVariants.before ● String scalar
Return the elements in the list that come before the specified cursor.
productVariants.after ● String scalar
Return the elements in the list that come after the specified cursor.
productVariants.first ● Int scalar
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
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
Type
ProductVariantCountableConnection object
Was this page helpful?