Skip to main content

Facet

A Facet is a class of properties which can be applied to a Product or ProductVariant. They are used to enable faceted search whereby products can be filtered along a number of dimensions (facets).

For example, there could be a Facet named "Brand" which has a number of FacetValues representing the various brands of product, e.g. "Apple", "Samsung", "Dell", "HP" etc.

Signature

constructor

method(input?: DeepPartial<Facet>) => Facet

name

propertyLocaleString

isPrivate

propertyboolean

code

propertystring

translations

propertyArray<Translation<Facet>>

values

propertyFacetValue[]

customFields

propertyCustomFacetFields

channels

propertyChannel[]
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page