---
title: "PromotionScores"
url: "https://developer.migros.ch/apis/unified-customer-item-recommender-api-2/versions/99fa4982-90d2-410c-a30b-b658b93762a4/schemas/PromotionScores"
---

> Full API specification: https://developer.migros.ch/apis/unified-customer-item-recommender-api-2/versions/99fa4982-90d2-410c-a30b-b658b93762a4.md

# PromotionScores

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Unified Customer-Item Recommender API
  version: 2.0.0.dev0
servers:
  - description: URL of upstream
    url: https://prod-unified-recommender.service.migros.cloud
components:
  schemas:
    Promotion:
      description: Migros AngebotID
      example: "2010900"
      pattern: ^[a-zA-Z0-9=]+$
      type: string
    Score:
      description: Depending on context, a score relates to a 7-day purchase
        probability or is just a ranking.
      format: float
      maximum: 1
      minimum: 0
      type: number
    PromotionScores:
      items:
        properties:
          promotion_id:
            $ref: "#/components/schemas/Promotion"
          score:
            $ref: "#/components/schemas/Score"
        type: object
      type: array
```
