Przejdź do głównej zawartości

AttributeOptionsSearchInput

Input for the attributeOptionsSearch query

input AttributeOptionsSearchInput {
after: String
contextInput: AvailableFiltersInput
first: Int
handle: String!
search: String
sort: AttributeOptionsSearchSort
}

Fields​

AttributeOptionsSearchInput.after ● String scalar​

Opaque cursor from the previous page (pageInfo.endCursor)

AttributeOptionsSearchInput.contextInput ● AvailableFiltersInput input​

Product context (categoryId/collectionId/searchQuery/currentFilters) for accurate productCount. Exclude-self: when currentFilters contains the same attribute, it is skipped.

AttributeOptionsSearchInput.first ● Int scalar​

Number of options returned (default 50, max 100)

AttributeOptionsSearchInput.handle ● String! non-null scalar​

Attribute handle (URL-friendly identifier, e.g. "license")

Search by value/label (case-insensitive, max 100 characters)

AttributeOptionsSearchInput.sort ● AttributeOptionsSearchSort enum​

Sort — COUNT_DESC default (most popular first), LABEL_ASC for alphabetical

Member Of​

attributeOptionsSearch query