Docs
Dashboard

facets

Query

Returns a list of collections.

#

Arguments


after
String

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

association
FacetAssociation

The association used by this operation.

Possible enum values
  • PRODUCT

    Applies the facet to products.

  • PRODUCT_VARIANT

    Applies the facet to individual product variants.

before
String

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

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

#

Payload


edges
[FacetEdge!]

A list of edges.

nodes
[Facet!]

A flattened list of the nodes

pageInfo
PageInfo!

Information to aid in pagination.

totalCount
Int!

Identifies the total count of items in the connection.