v1

latestOpenAPI 3.0.02026-07-24182211348.4 KB
Guided selling

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.

get/advisor/{instancekey}

Path parameters

instancekeystring required

Instance specific key.

Query parameters

codestring required

Compare code.

answersobject

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_qs_1": "1|2",
  "tn_qs_2": "3"
}
tn_skip_qsnumber[]

Collection of skipped questions.

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

psnumber

Page size, amount of desired products

Default value: 12

Maximum value: 100

Headers

TWN-Sourcestring

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

Response

Response containing questions and answers.

advisoridinteger

ID of the advisor

titlestring

Title of the advisor

codestring

Code of the advisor