---
title: "Product recommendations"
method: GET
path: "/recommendations/product/{instancekey}/{productNo}"
tags: ["Recommendations"]
---

# Product recommendations

`GET /recommendations/product/{instancekey}/{productNo}`

Service that returns all recommended products of a product for all rules.

If a lot of rules have been set up, it is not efficient to request all rules for all products.
With these web services, all products of a product can be retrieved in one go for all rules.

## Path parameters

- `instancekey` string, required
- `productNo` string, required

## Query parameters

- `tn_cid` string
- `tn_parameters` string
- `tn_parameters_except` string
- `tn_profilekey` string
- `tn_edc_parameters` string

## Headers

- `TWN-Source` string

## Response `200`

Various rules with up- and cross sell products for the requested product.

- ProductRecommendations
  - `recommendations` ProductRecommendationsGroup[]
    - `id` integer
    - `name` string
    - `items` NavigationItem[]
      - `visualproperties` Visualproperties
        - `colspan` integer — The number of columns the item takes up.
        - `rowspan` integer — The number of rows the item takes up.
      - `type` string — Type of item
      - `itemno` string — Unique item number
      - `title` string — Title of item
      - `price` number, double — Price of item
      - `brand` string — Brand of item
      - `url` string — Url of item
      - `image` string — Image of item
      - `attributes` NavigationItemAttribute[]
        - `name` string — Name of an attribute
        - `values` string[]
      - `origin` NavigationItemOrigin
        - `type` string — Type of origin
        - `name` string — Display name of the origin
        - `itemreference` string — Item reference for the origin

## Other responses

- `401` — Invalid instancekey supplied

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
