Hi ! h_title
Support
Home
Developers
REST API
REST API

You may want to readily filter certain pages on a property 'under water'. For example, if Tweakwise contains all products, regardless of stock status, you may want to filter out products without stock from your category pages. You can do this by using a hidden filter, using a parameter. This parameter needs to be added to the request. The concerned parameter is tn_parameters, here is the explanation from developers.tweakwise.com:

tn_parameters

string

(query)

Hidden parameters can be added to the URL by using the parameter 'tn_parameters'.

When filtering by property 'brand' with value 'Coca Cola' or with value 'Pepsi' the value of tn_parameters should be: brand=Coca Cola&brand=Pepsi

This value should then be URL encoded.

Example: ?tn_parameters=brand%3DCoca%20Cola%26brand%3DPepsi

Let's say you want to filter out stockless products, you can do this as follows: ?tn_parameters=opvoorraad=Yes (encoded, this will be: ?tn_parameters=instock%3DYes)

If you want to use a property as a hidden filter, this needs to be configured in the Tweakwise app. This can only be done by Tweakwise, so if you want to use this functionality, send us a message at support@tweakwise.com.


Has reading the relevant articles not helped you?

Share article

Link copied to clipboard

Cookies

We are using cookies.

Want to know more? Take a look at our cookie statement.

The Livechat uses trackingcookies, do you accept these cookies?

Accept