Skip to main content
QUERY
sourcePropertyTerms(after: String, contains: String, exclude: [String!], first: Int, ignoreCase: Boolean!, language: String, property: String!, sort: FacetSortInput, sourceId: String!, where: Predicate): FacetConnection

Arguments

after
String

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

contains
String

Keeps only the values that contain this literal text. Text and list properties only.

exclude
[String!]

Values to leave out before counting and paging, matched exactly and case-sensitively. Text and list properties only.

first
Int

Returns the first n elements from the list.

ignoreCase
Boolean!
default:false

Whether contains ignores case. Default false. Values that differ only in case stay separate.

language
String

Language code (e.g. en) for a localized property, used for its values and in where. Required when either uses a localized property; there's no fallback language.

property
String!
required

Id of the source property whose values are counted.

What the values are sorted by. Null sorts by COUNT descending, ties by value ascending.

sourceId
String!
required

Raw id of the data source (e.g. products), not the global DataSource.id.

Filters which source entries count, as a Predicate over source properties; segment, relation and lifecycle aren't supported. Null counts every entry of the source.

edges

A list of edges.

A flattened list of the nodes.

pageInfo

Information to aid in pagination.

totalCount
Query
Variables
Response