---
title: "LoyaltySystemAction"
url: "https://developer.migros.ch/apis/central-pricing-facade-1/versions/3d3408ff-7c6b-4890-82ea-373f6d4abb25/schemas/LoyaltySystemAction"
---

> Full API specification: https://developer.migros.ch/apis/central-pricing-facade-1/versions/3d3408ff-7c6b-4890-82ea-373f6d4abb25.md

# LoyaltySystemAction

Details of an action of the Loyalty System.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Central Pricing Facade
  version: 1.3.3.7
servers:
  - description: URL of upstream
    url: https://api.migros.ch
components:
  schemas:
    LoyaltyProductDetails:
      additionalProperties: false
      description: Details about the product of the Loyalty System.
      properties:
        expiration_date:
          format: date-time
          nullable: true
          type: string
        status:
          enum:
            - charged
            - redeemed
          example: charged
          type: string
      required:
        - status
      type: object
    LoyaltySystemDetails:
      additionalProperties: false
      description: Details about the Loyalty System communication.
      properties:
        date:
          format: date-time
          type: string
        online:
          example: true
          type: boolean
        status:
          enum:
            - OK
            - NOK
          example: OK
          type: string
        uuid:
          example: "68471892100106106113111269117711"
          type: string
      required:
        - status
        - online
        - date
        - uuid
      type: object
    LoyaltySystemAction:
      additionalProperties: false
      description: Details of an action of the Loyalty System.
      properties:
        action:
          example: none
          type: string
        barcode:
          example: "778400001234567813"
          type: string
        coupon_id:
          example: "123123123"
          type: string
        coupon_type:
          example: UCB
          type: string
        cumulus_number:
          example: "2099123123123"
          maxLength: 40
          minLength: 10
          type: string
        loyalty_product:
          $ref: "#/components/schemas/LoyaltyProductDetails"
        loyalty_system:
          $ref: "#/components/schemas/LoyaltySystemDetails"
      required:
        - cumulus_number
        - coupon_id
        - coupon_type
        - barcode
        - action
        - loyalty_system
        - loyalty_product
      type: object
```
