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

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

# DiscountConditions

## 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:
    DiscountConditionsMinimumPieces:
      properties:
        prefix:
          example: ab
          type: string
        value:
          example: 2
          type: integer
      required:
        - value
        - prefix
      type: object
    DiscountConditions:
      properties:
        minimum_pieces:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/DiscountConditionsMinimumPieces"
        minimum_purchase_price:
          example: 10
          format: float
          nullable: true
          type: number
      type: object
```
