Helpcenter +918010117117 https://cdn1.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" support@storehippo.com https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India

Facet Groups

(ms.facet_groups)

A Facet group allows you to control the facets used for filtering products on the product listing pages.



Fields

Value Description
name   
Type: string
Required
Name of the facet group
facets   
Type: array
Facet fields that are part of the current facet group. The facets will appear in the order they are listing here.
field
Type: string
Name of the field on which the facet is applied
type
Type: string
Type of the facet that tells how facets will be displayed. Possible values are 'radio', 'checkbox', 'range', and 'swatch'.
settings
Type: object

Settings for the specific types of facets.

Range

min Minimum value of the facet to accept as user input. Default is zero.
max Maximum value of the facet to accept as user input. 
steps Number of sets in which range field values are divided.
display_type How the range facet should be displayed. Possible values are 'slider', 'radio', 'checkbox'

Commands (Endpoints)

POST /api/1.1/entity/ms.facet_groups   
Creates a new facet group
DEL /api/1.1/entity/ms.facet_groups/{resource_id}   
Deletes a facet group
PUT /api/1.1/entity/ms.facet_groups/{resource_id}   
Updates an existing facet group
GET /api/1.1/entity/ms.facet_groups/{resource_id}   
Retrieves a single facet group
GET /api/1.1/entity/ms.facet_groups   
Retrieves a list of facet groups