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

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

# Service

Represents a service.

## 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:
    Service:
      description: Represents a service.
      properties:
        code:
          description: Defines whether that service is mandatory when selling the product
            or not.
          type: string
        mandatory:
          nullable: true
          type: boolean
        max:
          nullable: true
          type: integer
        min:
          nullable: true
          type: integer
      type: object
```
