---
title: "ProductStatus"
url: "https://developer.migros.ch/apis/products-related-8/versions/605be1d6-ffb8-4b27-8cd0-286a81eaec29/schemas/ProductStatus"
---

> Full API specification: https://developer.migros.ch/apis/products-related-8/versions/605be1d6-ffb8-4b27-8cd0-286a81eaec29.md

# ProductStatus

A product status.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Products Related
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api.migros.ch
components:
  schemas:
    ProductActive:
      allOf:
        - $ref: "#/components/schemas/DateRange"
        - properties:
            active:
              description: Whether the product is marked as active.
              type: boolean
          type: object
      description: Information whether or not a product is active.
      type: object
    ProductDistributionCenter:
      properties:
        center_id:
          nullable: true
          type: string
        center_name:
          nullable: true
          type: string
        status_code:
          nullable: true
          type: string
        status_description:
          nullable: true
          type: string
      type: object
    PriceLevel:
      properties:
        level:
          type: integer
        name:
          type: string
      type: object
    DateRange:
      description: Represents an interval.
      properties:
        from:
          description: End date of the range.
          format: date
          type: string
        to:
          format: date
          type: string
      required:
        - from
        - to
      type: object
    ProductStatus:
      description: A product status.
      properties:
        active:
          description: Information whether or not the product is active (not exposed).
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/ProductActive"
        description:
          description: Status description text.
          nullable: true
          type: string
        distribution_center:
          description: The pex status of the product.
          items:
            $ref: "#/components/schemas/ProductDistributionCenter"
          nullable: true
          type: array
        id:
          description: >-
            Status identifier (no relation to active field).


            Can be one of these values: available, not-available,
            currently-not-available, liquidation, deleted.
          enum:
            - available
            - not-available
            - currently-not-available
            - liquidation
            - deleted
          type: string
        offline_date:
          description: Date which marks by when a product should not be displayed online
            anymore.
          format: date-time
          nullable: true
          type: string
        online_approval:
          description: Is field available online
          nullable: true
          type: boolean
        online_date:
          description: Date which marks by when a product should be displayed online.
          format: date-time
          nullable: true
          type: string
        pim_status:
          description: The pim status of the product.
          type: string
        price_band_category:
          description: Price band category type.
          nullable: true
          type: string
        price_level:
          description: Information about the price_level (tiefpreis/normalpreis)
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/PriceLevel"
        season_year:
          description: Additional information for seasonal products to identify for which
            year this product is.
          nullable: true
          type: integer
        seasonal:
          description: Seasonal flag.
          nullable: true
          type: boolean
        seasonal_type_code:
          description: |-
            Product's seasonality type code.
            Possible values:
            - '0010': Default
            - 'P': Permanent
            - 'F': Spring
            - 'FW': Spring periodic
            - 'H': Fall
            - 'HW': Fall periodic
            - 'S': Summer
            - 'SW': Summer periodic
            - 'W': Winter
            - 'WW': Winter periodic
          enum:
            - "0010"
            - P
            - F
            - FW
            - H
            - HW
            - S
            - SW
            - W
            - WW
          type: string
      required:
        - id
        - pim_status
      type: object
```
