Compare

Service that makes it possible to filter products questioningly and then compare them with each other. The results will be sorted by the most appropriate product.

Path Params
string
required

Instance specific key.

Query Params
string
required

Compare code.

answers
object

Answer(s) to questions formatted as key-value pairs.

The key of the question being answered has format tn_qs_{n}, where n is the ID of the question being answered.

The value contains the ID(s) of the answer(s) to the question. When multiple answers are provided, they should be separated by a pipe (|).

Example: ?tn_qs_1=1%7C2&tn_qs_2=3

tn_skip_qs
array of numbers

Collection of skipped questions.

Example: ?tn_skip_qs=2%2C4%2C6 or ?tn_skip_qs=2&tn_skip_qs=4&tn_skip_qs=6

tn_skip_qs
number

Page size, amount of desired products

Default value: 12

Maximum value: 100

Headers
string
Defaults to Tweakwise API docs

The source of the request. See the article on the request source for more information.

Responses

401

Invalid instancekey supplied

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json