---
title: "events"
url: "https://developer-qual.migros.ch/apis/prices-discounts-1/versions/bd716bf2-db0b-4e77-bb28-b39065968f43/schemas/events"
---

> Full API specification: https://developer-qual.migros.ch/apis/prices-discounts-1/versions/bd716bf2-db0b-4e77-bb28-b39065968f43.md

# events

Events holds event data for a discount

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Prices & Discounts
  version: 1.6.0
servers:
  - description: URL of upstream
    url: https://api-qual.migros.ch
components:
  schemas:
    events:
      description: Events holds event data for a discount
      items:
        properties:
          endDate:
            description: EndDate is the date when this event expires
            example: 2026-07-22
            format: date
            type: string
          id:
            description: id of an event
            example: "609237"
            type: string
          isMasterAssignment:
            description: isMasterAssignment defines if the Event is the Main event. The
              MasterEvent flag indicates, that this event promotion is
              responsible for the online communication, which means it should be
              shown on migros.ch.
            example: true
            type: boolean
          productID:
            description: productID is the ID of the product that is paired to the event.
            example: "101712200000"
            type: string
          startDate:
            description: StartDate is the date when this event becomes valid
            example: 2026-07-16
            format: date
            type: string
          tactic:
            description: >-
              tactic is a subcategory of TacticType, represented by a numeric
              ID. This ID corresponds to specific options, such as "13
              Wochenflyer" under "80 Print" or "4 POP-Flyer & Kataloge" under
              "84 Beilagen/Flyer".

              Since an event tactic is a subcategory of an event tactic type,
              they should be used together. Knowing only the event tactic is
              pretty useless because it can be a subcategory of multiple event
              tactic types, that have nothing in common. For example event
              tactic '02' can be 'Anzeige' for event tactic type '01 Drucken' or
              'Instore-TV' for tactic type '82 Video'.
            example: "52"
            type: string
          tacticType:
            description: >-
              tacticType represents the advertising strategy for an event. It
              specifies the method as a numeric ID, for example, '80' for
              'Print' or '84' for 'Beilagen/Flyer'.

              Since an event tactic is a subcategory of an event tactic type,
              they should be used together. For instance, an event tactic with
              ID '02' can be a subcategory of multiple event tactic types, which
              have nothing in common.
            example: "900"
            type: string
        type: object
      type: array
```
