Skip to main content

products

Paginate through products.

Requires the publicproduct/read scope.

products(
after: String
before: String
first: Int
last: Int
manufacturer: [StringFilterInput]
msrp: FloatRangeFilterInput
numberOfTermAggregations: ProductNumberOfTermAggregationsInput
price: FloatRangeFilterInput
query: String
slugs: [String]
sortOrder: [ProductSortInput]
standardizedColor: [ProductStandardizedColorFilterInput]
tagPrefixes: [StringFilterInput]
tags: [StringFilterInput]
vendor: StringFilterInput
): PublicProductConnectionWithSearch!

Arguments

products.after ● String scalar

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

products.before ● String scalar

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

products.first ● Int scalar

Returns the first n elements from the list.

products.last ● Int scalar

Returns the last n elements from the list.

products.manufacturer ● [StringFilterInput] list input

Optionally filter by manufacturer.

products.msrp ● FloatRangeFilterInput input

Optionally filter by msrp.

products.numberOfTermAggregations ● ProductNumberOfTermAggregationsInput input

The number of results to return for each term aggregation. Defaults to 0 for each.

products.price ● FloatRangeFilterInput input

Optionally filter by price.

products.query ● String scalar

Query products for certain terms. Searches several fields, including product.tags, product.title, product.vendor, productLocales.description, productLocales.featureBullets, variant.barcode, variant.mpn, variant.sku

products.slugs ● [String] list scalar

Filter Products using slugs

products.sortOrder ● [ProductSortInput] list input

Sort Products by a series of fields and directions, defaults to CREATED_AT/ASC.

products.standardizedColor ● [ProductStandardizedColorFilterInput] list input

Optionally filter by standardized color.

products.tagPrefixes ● [StringFilterInput] list input

Filter Products using Tag Prefixes (starts with).

products.tags ● [StringFilterInput] list input

Filter Products using Tags.

products.vendor ● StringFilterInput input

Optionally filter by vendor.

Type

PublicProductConnectionWithSearch object

Paginate through PublicProducts