Tweakwise API responses are generated based on default values or app configuration. If you need more flexibility, the API allows the use of parameters to override the default configuration on runtime.
Filter template
filterTemplateId
Explicitly specify the ID of the filter template to use. This will overrule any filter template that would otherwise be applied.
window["twn-starter-config"].filterTemplateId = 2;
Use Catalog > Filter templates to retrieve all available filtertemplates for your instance.
Builder template
builderTemplateId
Explicitly specify the ID of the builder to use. This will overrule any builder that would otherwise be applied.
window["twn-starter-config"].builderTemplateId = 11;
Use Catalog > Builders to retrieve all available builders for your instance.
Merchandising template (Sorting template)
sortingTemplateId
Explicitly specify the ID of the sorting template to use. This will overrule any sorting template that would otherwise be applied.
window["twn-starter-config"].sortingTemplateId = 2;
Use Catalog > Sorting templates to retrieve all available merchandising templates for your instance.