iglooX DocsDevelopers

Schema

Dashboard Voucher Program Summary

Voucher activity for the report period and the stock remaining now. Lifetime issuance counts all vouchers ever issued. Issued, revoked and net redeemed quantities cover the selected period. Outstanding quantities and status counts describe current stock. Savings are grouped by currency.

  • Models

Overview

object · 6 properties · 6 required

Properties

loyalty_program_uuid

string Required
Format uuid

loyalty_program_name

string Required
Min length 1
Max length 255

loyalty_program_type

string Required

Allowed values

voucher

active_customers

integer Required

Customers with vouchers they can use now.

Minimum 0

redemption_summaries

array Required
Array items

Items

reference

References Dashboard Loyalty Redemption Summary.

quantity_summary

object Required

Voucher counts are always present, including zero counts when there is no activity.

Nested properties

lifetime_issued_quantity

integer Required

All vouchers ever issued, regardless of the report period or their current state.

Minimum 0

issued_quantity

integer Required
Minimum 0

revoked_quantity

integer Required
Minimum 0

net_redeemed_quantity

integer Required

outstanding_quantity

integer Required
Minimum 0

available_quantity

integer Required
Minimum 0

not_yet_usable_quantity

integer Required
Minimum 0

archived_quantity

integer Required
Minimum 0

expired_quantity

integer Required
Minimum 0

Used by

Raw YAML
Download source
title: Dashboard Voucher Program Summary
type: object
x-tags:
  - Models
description: Voucher activity for the report period and the stock remaining now. Lifetime issuance counts
  all vouchers ever issued. Issued, revoked and net redeemed quantities cover the selected period.
  Outstanding quantities and status counts describe current stock. Savings are grouped by currency.
required:
  - loyalty_program_uuid
  - loyalty_program_name
  - loyalty_program_type
  - active_customers
  - redemption_summaries
  - quantity_summary
properties:
  loyalty_program_uuid:
    type: string
    format: uuid
  loyalty_program_name:
    type: string
    minLength: 1
    maxLength: 255
  loyalty_program_type:
    type: string
    enum:
      - voucher
  active_customers:
    type: integer
    minimum: 0
    description: Customers with vouchers they can use now.
  redemption_summaries:
    type: array
    items:
      $ref: ./DashboardLoyaltyRedemptionSummary.yaml
  quantity_summary:
    description: Voucher counts are always present, including zero counts when there is no activity.
    type: object
    required:
      - lifetime_issued_quantity
      - issued_quantity
      - revoked_quantity
      - net_redeemed_quantity
      - outstanding_quantity
      - available_quantity
      - not_yet_usable_quantity
      - archived_quantity
      - expired_quantity
    properties:
      lifetime_issued_quantity:
        type: integer
        minimum: 0
        description: All vouchers ever issued, regardless of the report period or their current state.
      issued_quantity: &a1
        type: integer
        minimum: 0
      revoked_quantity: *a1
      net_redeemed_quantity:
        type: integer
      outstanding_quantity: *a1
      available_quantity: *a1
      not_yet_usable_quantity: *a1
      archived_quantity: *a1
      expired_quantity: *a1

Search documentation

Search across this documentation site.