---
title: "Compare"
method: GET
path: "/advisor/{instancekey}"
tags: ["Guided selling"]
---

# Compare

`GET /advisor/{instancekey}`

## Request

- Base URL: `https://gateway.tweakwisenavigator.com`
- URL: `https://gateway.tweakwisenavigator.com/advisor/{instancekey}`
- Auth: none declared

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 parameters

- `instancekey` string, required

## Query parameters

- `code` string, required
- `answers` object
- `tn_skip_qs` number[]
- `ps` number

## Headers

- `TWN-Source` string

## Response `200`

Response containing questions and answers.

- Advisor
  - `advisorid` integer: ID of the advisor
  - `title` string: Title of the advisor
  - `code` string: Code of the advisor
  - `questions` Question[]: List of questions
    - `questionid` integer: ID of the question
    - `question` string: Text of the question
    - `ismultiselect` boolean: Indicates if multiple answers can be selected
    - `attributeid` integer: ID of the attribute
    - `imageurl` string: URL of the image
    - `explanation` string: Explanation of the question
    - `answers` Answer[]: List of answers
      - `answerid` integer: ID of the answer
      - `answer` string: Text of the answer
      - `subtext` string: Subtext of the answer
      - `summary` string: Summary of the answer
      - `imageurl` string: URL of the image
      - `isselected` boolean: Indicates if this answer is selected
      - `nextquestionid` integer, nullable: ID of the next question
    - `current` boolean: Indicates if this is the current question
    - `skippable` boolean: Indicates if this question can be skipped
    - `skiplabel` string: Label for the skip button

## Other responses

- `401`: Invalid instancekey supplied

---

[API](https://skmtc.dev/tweakwise/apis/delivery-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/delivery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/delivery-api/revisions/8b9edcf45234?raw)
