---
title: "Returns the sensory data of a single product."
url: "https://developer-qual.migros.ch/apis/products-related-8/versions/051741b6-0319-4b5e-b1f1-6bdbc778acb6/operations/get-sensory-data-by-product"
---

> Full API specification: https://developer-qual.migros.ch/apis/products-related-8/versions/051741b6-0319-4b5e-b1f1-6bdbc778acb6.md

# Returns the sensory data of a single product.

`GET` `/migros/products/v8/products/{id}/sensory-data`

Operation ID: `get-sensory-data-by-product`

Returns the sensory data of a single product.

## Path parameters

- `id` (string, required)

## Query parameters

- `lang` (string, optional) - Defines the language (de/fr/it/en) for this request as query parameter. Either use the query param "lang" or header "Accept-Language", not both.

## Header parameters

- `Accept-Language` (string, optional) - Defines the language (de/fr/it/en) for this request as request header. Either use the query param "lang" or header "Accept-Language", not both.

## Responses

- `200` - Returned when successful
- `404` - When no sensory data is available for this product

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Products Related
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api-qual.migros.ch
paths:
  /migros/products/v8/products/{id}/sensory-data:
    get:
      description: Returns the sensory data of a single product.
      operationId: get-sensory-data-by-product
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
        - $ref: "#/components/parameters/lang"
        - $ref: "#/components/parameters/Accept-Language"
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/SensoryData"
          description: Returned when successful
        "404":
          description: When no sensory data is available for this product
      summary: Returns the sensory data of a single product.
      tags:
        - Products Related
security:
  - Kong-Api-Key: []
    basicAuth: []
components:
  parameters:
    lang:
      description: Defines the language (de/fr/it/en) for this request as query
        parameter. Either use the query param "lang" or header
        "Accept-Language", not both.
      in: query
      name: lang
      schema:
        default: de
        enum:
          - de
          - fr
          - it
          - en
        type: string
    Accept-Language:
      description: Defines the language (de/fr/it/en) for this request as request
        header. Either use the query param "lang" or header "Accept-Language",
        not both.
      in: header
      name: Accept-Language
      schema:
        default: de
        enum:
          - de
          - fr
          - it
          - en
        type: string
  schemas:
    SensoryData:
      properties:
        features:
          items:
            $ref: "#/components/schemas/ProductFeature"
          type: array
        images:
          description: A list of images for sensory data
          items:
            $ref: "#/components/schemas/Image"
          nullable: true
          type: array
        product_id:
          type: string
      required:
        - product_id
        - features
      type: object
    ProductFeature:
      allOf:
        - $ref: "#/components/schemas/Feature"
    Image:
      description: An image and its properties.
      properties:
        code:
          deprecated: true
          description: Code for the image, useful for pictograms.
          nullable: true
          type: string
        custom:
          deprecated: true
          description: Image URL with placeholders for {width} and {height}.
          type: string
        description:
          deprecated: true
          description: Image description, useful for example as alt attribute.
          nullable: true
          type: string
        end_date:
          deprecated: true
          description: End date of the validity.
          format: date-time
          nullable: true
          type: string
        hash:
          deprecated: true
          description: Sha1 hash of original image.
          nullable: true
          type: string
        original:
          deprecated: true
          description: Full size image.
          type: string
        source:
          deprecated: true
          description: Source where the image comes from originally.
          nullable: true
          type: string
        stack:
          deprecated: true
          description: Image URL with a placeholder for a Rokka {stack}.
          type: string
        start_date:
          deprecated: true
          description: Start date of the validity.
          format: date-time
          nullable: true
          type: string
        tags:
          deprecated: true
          items:
            type: string
          type: array
      type: object
    Feature:
      properties:
        category_code:
          type: string
        facet_pictogram_flag:
          nullable: true
          type: boolean
        label:
          nullable: true
          type: string
        label_code:
          description: >-
            A language-independent code to represent the feature, useful for
            programs to find specific features.


            This field has undetermined lower or uppercase. When checking for a
            specific code, ignore lower/upper case differences.
          type: string
        pop_blacklist:
          deprecated: true
          description: This feature should not be output on the POP template
          type: boolean
        pop_order:
          deprecated: true
          description: >-
            Order in which this feature should show up on POP labels, only
            present if popWhitelist is true.


            The sort order is ascending, low number means the feature should
            come early.
          nullable: true
          type: integer
        pop_pictogram:
          deprecated: true
          description: If the image for this feature should be output on the POP template
          type: boolean
        pop_whitelist:
          deprecated: true
          description: This feature should be output on the POP template, if we only print
            whitelisted ones.
          nullable: true
          type: boolean
        top_fact:
          description: >-
            Top fact flag.


            Top facts are features that are used to highlight the attached
            object (example, different screen or RAM sizes).
          type: boolean
        unit:
          nullable: true
          type: string
        unit_code:
          nullable: true
          type: string
        unit_symbol:
          nullable: true
          type: string
        values:
          items:
            $ref: "#/components/schemas/FeatureValue"
          nullable: true
          type: array
      required:
        - label_code
      type: object
    FeatureValue:
      properties:
        boolean_value:
          description: Value as boolean if applicable.
          nullable: true
          type: boolean
        image:
          $ref: "#/components/schemas/Image"
        numeric_value:
          description: Value as a number if applicable.
          format: float
          nullable: true
          type: number
        value:
          description: Readable and language-specific value of the feature.
          nullable: true
          type: string
        value_code:
          description: Not language-specific and better machine-processable code for lookup.
          nullable: true
          type: string
      type: object
  securitySchemes:
    Kong-Api-Key:
      description: Kong key-auth authentication
      in: header
      name: X-Api-Key
      type: apiKey
    basicAuth:
      scheme: basic
      type: http
```
