---
title: "Day"
url: "https://developer-qual.migros.ch/apis/urd-procurement-reports-0/versions/1b65af7e-0372-4611-9b47-ff4e28c059b3/schemas/Day"
---

> Full API specification: https://developer-qual.migros.ch/apis/urd-procurement-reports-0/versions/1b65af7e-0372-4611-9b47-ff4e28c059b3.md

# Day

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Urd Procurement Reports
  version: 0.0.1
servers:
  - description: URL of upstream
    url: https://api-qual.migros.ch
components:
  schemas:
    Sale:
      properties:
        amount:
          example: 335
          type: number
          x-go-type: float64
        promotionType:
          description: >-
            Human-friendly name for the Promotion Type

            Note: If the API doesn't know a UnitCode, it'll put the plain
            UnitCode here.
          example: Normalpreis
          type: string
        promotionTypeId:
          description: ID of the Promotion Type
          example: "1415"
          type: string
        unit:
          description: "Note: If the API doesn't know a UnitCode, it'll put the plain
            UnitCode here."
          enum:
            - pce
            - kg
            - meter
            - m2
            - liter
            - kwh
          type: string
      required:
        - promotionType
        - promotionTypeId
        - amount
        - unit
      type: object
    Day:
      properties:
        date:
          example: 2026-01-01
          type: string
        sales:
          items:
            $ref: "#/components/schemas/Sale"
          type: array
      required:
        - date
        - sales
      type: object
```
