To specify a non-default display order for selected facets in your application, follow these steps:
Use one of the following endpoints to export configuration of the Guided Navigation catalog, follow content item, in JSON format or in ZIP format:
GET /gsadmin/v1/cloud/facets/default (JSON format)
GET /gsadmin/v1/cloud/facets/default.zip (ZIP format)
The default configuration of the Guided Navigation content item is returned. The navigation[] attribute is empty. When the navigation attribute is empty, the facets in the refinements list are not explicitly ordered; instead, they appear in an order determined by the system. For information about the attributes in this configuration, see Attributes of the Guided Navigation Content Item.
In the navigation attribute, include a RefinementMenu element for each facet that you want to include among the explicitly ordered facets. Arrange the RefinementMenu elements in the order in which you want the corresponding facets to appear. See Example of custom facet ordering.
Use one of the following endpoints to import configuration of the Guided Navigation content item, in JSON format or in ZIP format:
PUT /gsadmin/v1/cloud/facets/default (JSON format)
PUT /gsadmin/v1/cloud/facets/default.zip (ZIP format)
Note: If the
GuidedNavigation
content item does not exist, you must use the POST method to create it. You cannot, however, use POST to update an existing content item.View the changes in your Preview environment to verify that they are correct.
Publish your catalog to promote your changes to your production environment.