---
title: "UCB"
url: "https://developer.migros.ch/apis/coupons-3/versions/2b8e9e45-2e72-462e-b3cb-d5019d51e0e3/schemas/UCB"
---

> Full API specification: https://developer.migros.ch/apis/coupons-3/versions/2b8e9e45-2e72-462e-b3cb-d5019d51e0e3.md

# UCB

Static data of an UCB (Blauer Bon/Coupon Bon).

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Coupons
  version: 3.4.0
servers:
  - description: URL of upstream
    url: https://api.migros.ch
components:
  schemas:
    UCB:
      description: Static data of an UCB (Blauer Bon/Coupon Bon).
      properties:
        description:
          example: Bon Wert Fr. 5
          type: string
        id:
          description: This ID just identifies the value (5, 10, 20 CHF) only. The
            individual physical UCB is identified by a UCB-ID that equals the
            number/barcode printed on the UCB.
          example: "980500100000"
          type: string
        image:
          example: https://image.migros.ch/coupons/{stack}/40187ac745c07f16a184508f17f3a3cb255d4537.jpg
          type: string
        image_app:
          example: https://image.migros.ch/coupons/{stack}/76a605b12f8ad8586c70b3a0a920836bcb5f94d8.png
          type: string
        image_app_inactive:
          example: https://image.migros.ch/coupons/{stack}/4a67aeb0ff88b07cc2cd4b4cd2b0272759f74779.png
          type: string
        image_inactive:
          example: https://image.migros.ch/coupons/{stack}/6c8cf3ca90d107207ca6760e8eb4e554d67c438d.jpg
          type: string
        language:
          example: de
          type: string
        value:
          example: 5
          format: int32
          type: integer
      required:
        - id
        - language
        - value
        - image
        - image_inactive
        - image_app
        - image_app_inactive
      type: object
```
