---
title: "RelatedProducts"
url: "https://developer.migros.ch/apis/products-8/versions/4f3f7804-4b0e-4d65-b275-5d7bccc41f2a/schemas/RelatedProducts"
---

> Full API specification: https://developer.migros.ch/apis/products-8/versions/4f3f7804-4b0e-4d65-b275-5d7bccc41f2a.md

# RelatedProducts

Represents a collection of product recommendations from all sources.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Products
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api.migros.ch
components:
  schemas:
    SuccessorProduct:
      properties:
        mpid:
          type: string
        product_id:
          type: string
      type: object
    RelatedProductDetails:
      description: >-
        Represents related products from a single source.

        This model can be enhanced with new fields when necessary, for example
        when we start handling the Micasa Program data.
      properties:
        name:
          description: |-
            Name of the relationship with the related products.

            This is used for Micasa Program data.
          nullable: true
          type: string
        product_ids:
          description: Ids of related products.
          items:
            type: string
          type: array
      type: object
    RelatedProducts:
      description: Represents a collection of product recommendations from all sources.
      properties:
        original_products:
          items:
            $ref: "#/components/schemas/SuccessorProduct"
          nullable: true
          type: array
        rebranded_products:
          items:
            $ref: "#/components/schemas/SuccessorProduct"
          nullable: true
          type: array
        reference_program:
          deprecated: true
          description: The (Micasa) Program reference.
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/RelatedProductDetails"
        reference_recommendations:
          deprecated: true
          description: These come from PIM/PEx.
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/RelatedProductDetails"
        spare_parts:
          deprecated: true
          description: The MService spare-parts reference.
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/RelatedProductDetails"
      type: object
```
