Skip to main content

productVariants

List all product variants with optional filtering and sorting

productVariants(
filter: ProductVariantFilterInput
sortBy: VariantSortingInput
identifier: ID
before: String
after: String
first: Int
last: Int
): ProductVariantCountableConnection!

Arguments

productVariants.filter ● ProductVariantFilterInput input

productVariants.sortBy ● VariantSortingInput input

productVariants.identifier ● ID scalar

productVariants.before ● String scalar

Returns the items in the list that come before the specified cursor.

productVariants.after ● String scalar

Returns the items in the list that come after the specified cursor.

productVariants.first ● Int scalar

Returns the first n items from the list.

productVariants.last ● Int scalar

Returns the items in the list that come after the specified cursor.

Type

ProductVariantCountableConnection object

A connection to a list of items.

Was this page helpful?