---
title: "Get migros simulated label images"
url: "https://developer-qual.migros.ch/apis/odin-1/versions/ea750027-e89a-4267-ace5-9e2cc74dc68b/operations/get-migros-simulated-images"
---

> Full API specification: https://developer-qual.migros.ch/apis/odin-1/versions/ea750027-e89a-4267-ace5-9e2cc74dc68b.md

# Get migros simulated label images

`GET` `/migros/products/odin/v1/simulator/{storeID}/{productID}`

Operation ID: `get-migros-simulated-images`

It returns a collection of base64-encoded images grouped by label sizes.

## Path parameters

- `storeID` (string, required) - The store for which the labels should be generated. Language of the labels will depend on this...
- `productID` (string, required) - The id of the product.

## Query parameters

- `product_name` (string, optional) - Overrides product name.
- `package_size` (string, optional) - Overrides product package size.
- `origin` (string, optional) - Overrides product origin.
- `production_method` (string, optional) - Overrides production method (wildfang).
- `delivery_interruption` (boolean, optional) - Indicator to control if Delivery Interruption should be shown.
- `arrow` (boolean, optional) - Indicator to control if arrow should be shown.
- `by_air` (boolean, optional) - Indicator to control if "by air" information should be shown.
- `mhd` (string, optional) - Overrides store process MHD value.
- `arbeitsvorrat` (string, optional) - Overrides store process Arbeitsvorrat value.
- `inventur` (string, optional) - Overrides store process Inventur value.
- `auslistung` (string, optional) - Overrides store process Inventur value.
- `lieferunterbruch` (string, optional) - Overrides store process Lieferunterbruch value.

## Responses

- `200` - List of base64-encoded images grouped by label sizes.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Odin
  version: 1.0.0
servers:
  - description: URL of upstream
    url: https://api-qual.migros.ch
paths:
  /migros/products/odin/v1/simulator/{storeID}/{productID}:
    get:
      description: It returns a collection of base64-encoded images grouped by label sizes.
      operationId: get-migros-simulated-images
      parameters:
        - description: The store for which the labels should be generated. Language
            of  the labels will depend on this...
          in: path
          name: storeID
          required: true
          schema:
            type: string
        - description: The id of the product.
          in: path
          name: productID
          required: true
          schema:
            type: string
        - description: Overrides product name.
          in: query
          name: product_name
          required: false
          schema:
            type: string
        - description: Overrides product package size.
          in: query
          name: package_size
          required: false
          schema:
            type: string
        - description: Overrides product origin.
          in: query
          name: origin
          required: false
          schema:
            type: string
        - description: Overrides production method (wildfang).
          in: query
          name: production_method
          required: false
          schema:
            type: string
        - description: Indicator to control if Delivery Interruption should be shown.
          in: query
          name: delivery_interruption
          required: false
          schema:
            type: boolean
        - description: Indicator to control if arrow should be shown.
          in: query
          name: arrow
          required: false
          schema:
            type: boolean
        - description: Indicator to control if "by air" information should be shown.
          in: query
          name: by_air
          required: false
          schema:
            type: boolean
        - description: Overrides store process MHD value.
          in: query
          name: mhd
          required: false
          schema:
            default: KEIN
            enum:
              - KEIN
              - KEIN_TERMIN
              - NOCH_NICHT_FAELLIG
              - BALD_FAELLIG
              - UEBERFAELLIG
            type: string
        - description: Overrides store process Arbeitsvorrat value.
          in: query
          name: arbeitsvorrat
          required: false
          schema:
            default: KEIN
            enum:
              - KEIN
              - OFFEN
              - IN_ARBEIT
              - ERLEDIGT
            type: string
        - description: Overrides store process Inventur value.
          in: query
          name: inventur
          required: false
          schema:
            default: KEIN
            enum:
              - KEIN
              - RELEVANT
              - NICHT_RELEVANT
            type: string
        - description: Overrides store process Inventur value.
          in: query
          name: auslistung
          required: false
          schema:
            default: KEIN
            enum:
              - KEIN
              - JA
              - NEIN
            type: string
        - description: Overrides store process Lieferunterbruch value.
          in: query
          name: lieferunterbruch
          required: false
          schema:
            default: KEIN
            enum:
              - KEIN
              - JA
              - NEIN
              - ERNEUT_LIEFERBAR
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/SimulatedImages"
          description: List of base64-encoded images grouped by label sizes.
      summary: Get migros simulated label images
      tags:
        - ESL-Migros
security:
  - Kong-Api-Key: []
components:
  schemas:
    SimulatedImages:
      description: SimulatedImages represents a collection of base64-encoded images
        grouped by label sizes.
      properties:
        size1.6:
          description: List of base64 encoded images for label size 1.6 inches
          items:
            example: ""
            type: string
          type: array
        size2.2:
          description: List of base64 encoded images for label size 2.2 inches
          items:
            example: ""
            type: string
          type: array
        size2.7:
          description: List of base64 encoded images for label size 2.7 inches
          items:
            example: ""
            type: string
          type: array
        size4.2:
          description: List of base64 encoded images for label size 4.2 inches
          items:
            example: ""
            type: string
          type: array
        size7.5:
          description: List of base64 encoded images for label size 7.5 inches
          items:
            example: ""
            type: string
          type: array
        size8.2:
          description: List of base64 encoded images for label size 8.2 inches
          items:
            example: ""
            type: string
          type: array
      type: object
  securitySchemes:
    Kong-Api-Key:
      description: Kong key-auth authentication
      in: header
      name: X-Api-Key
      type: apiKey
```
