---
title: "Updates a guided selling"
method: PUT
path: "/guidedselling"
tags: ["GuidedSelling"]
---

# Updates a guided selling

`PUT /guidedselling`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Request body

- union: Base model for updating a guided selling
  - object: A funnel guided selling update model
    - `discriminator` 'ApiFunnelGuidedSellingUpdate', required
    - `FilterTemplateId` integer, nullable: The filter template used by the funnel.
    - `SortTemplateId` integer, nullable: The sort template used by the funnel.
    - `SelectionGuideId` integer: The guided selling identifier.
    - `Name` string: The guided selling name.
    - `Code` string: The guided selling code.
    - `CategoryId` integer: The category the guided selling applies to.
    - `Type` 'Funnel' | 'Compare'
    - `Attributes` ApiGuidedSellingSubmitAttribute[]: The configured attributes.
      - `AttributeId` integer: The referenced attribute identifier.
      - `Type` integer: The attribute type.
      - `RangeStart` integer, nullable: The start of the configured range.
      - `RangeEnd` integer, nullable: The end of the configured range.
      - `Values` string[]: The configured values.
    - `Questions` ApiGuidedSellingSubmitQuestion[]: The configured questions.
      - `AttributeId` integer: The referenced attribute identifier.
      - `Question` string: The question text.
      - `Explanation` string, nullable: The question explanation.
      - `ImageUrl` string, nullable: The question image url.
      - `Multiple` boolean: Indicates whether multiple answers can be selected.
      - `Skippable` boolean: Indicates whether the question can be skipped.
      - `SkipLabel` string, nullable: The label shown to skip the question.
      - `Position` integer: The position of the question.
      - `Answers` ApiGuidedSellingSubmitAnswer[]: The configured answers.
        - `Answer` string: The answer text.
        - `Caption` string, nullable: The answer caption.
        - `Summary` string, nullable: The answer summary.
        - `ImageUrl` string, nullable: The answer image url.
        - `Position` integer: The position of the answer.
        - `Type` integer: The answer type.
        - `RangeStart` integer, nullable: The start of the configured range.
        - `RangeEnd` integer, nullable: The end of the configured range.
        - `NextQuestionId` integer, nullable: The question to continue with when this answer is selected.
        - `Values` string[]: The configured values.
  - object: A compare guided selling update model
    - `discriminator` 'ApiCompareGuidedSellingUpdate', required
    - `SelectionGuideId` integer: The guided selling identifier.
    - `Name` string: The guided selling name.
    - `Code` string: The guided selling code.
    - `CategoryId` integer: The category the guided selling applies to.
    - `Type` 'Funnel' | 'Compare'
    - `Attributes` ApiGuidedSellingSubmitAttribute[]: The configured attributes.
      - `AttributeId` integer: The referenced attribute identifier.
      - `Type` integer: The attribute type.
      - `RangeStart` integer, nullable: The start of the configured range.
      - `RangeEnd` integer, nullable: The end of the configured range.
      - `Values` string[]: The configured values.
    - `Questions` ApiGuidedSellingSubmitQuestion[]: The configured questions.
      - `AttributeId` integer: The referenced attribute identifier.
      - `Question` string: The question text.
      - `Explanation` string, nullable: The question explanation.
      - `ImageUrl` string, nullable: The question image url.
      - `Multiple` boolean: Indicates whether multiple answers can be selected.
      - `Skippable` boolean: Indicates whether the question can be skipped.
      - `SkipLabel` string, nullable: The label shown to skip the question.
      - `Position` integer: The position of the question.
      - `Answers` ApiGuidedSellingSubmitAnswer[]: The configured answers.
        - `Answer` string: The answer text.
        - `Caption` string, nullable: The answer caption.
        - `Summary` string, nullable: The answer summary.
        - `ImageUrl` string, nullable: The answer image url.
        - `Position` integer: The position of the answer.
        - `Type` integer: The answer type.
        - `RangeStart` integer, nullable: The start of the configured range.
        - `RangeEnd` integer, nullable: The end of the configured range.
        - `NextQuestionId` integer, nullable: The question to continue with when this answer is selected.
        - `Values` string[]: The configured values.

## Response `200`

OK

## Other responses

- `400`: Bad Request

---

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