FacetFieldInput
InputConfigures the source field and optional included values for a facet.
Fields
- ID
attributeId The product attribute ID when kind is attribute.
- [String!]
excludedValues Values excluded while using automatic selection.
- String
key The metafield key when kind is metafield.
- FacetFieldKind!
kind The facet field kind.
Possible enum valuesATTRIBUTEUses values from a configured product attribute.
AVAILABILITYUses purchasing availability as the facet value.
METAFIELDUses values from a configured metafield.
PRICEUses product prices to create facet ranges.
TAGUses product tags as facet values.
VENDORUses product vendors as facet values.
- [String!]
knownValues Values previously observed for this facet field.
- String
namespace The metafield namespace when kind is metafield.
- FacetMetafieldOwner
owner The metafield owner when kind is metafield. Defaults to the facet association.
Possible enum valuesPRODUCTReads facet values from product metafields.
PRODUCT_VARIANTReads facet values from product-variant metafields.
- [String!]
valueOrder The preferred display order of active values.
- FacetValueSelectionMode
valueSelectionMode Whether new values are included automatically or selected manually.
Possible enum valuesAUTOMATICDerives selectable values automatically from catalog data.
MANUALUses the explicitly configured set of selectable values.
- [String!]
values The explicitly included values when selection mode is manual.