Incentivio Loyalty Report Controller API

The loyalty-report-controller API from Incentivio — 18 operation(s) for loyalty-report-controller.

GitHub OpenAPI
Business capability
Loyalty & Retention Management BC-420.40

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /incentivio-reports/loyaltyreport/offers/trends/csv Export offer trend data as CSV · Get loyalty report offer trends CSV #
Ask an LLM
“How do I download a CSV of offer trends for certain stores?”
“Can I get offer trend data for a date range and granularity?”
Tell an agent
Export offer trends for stores {storeIds} as CSV from {startDate} to {endDate}.
Download offer trend CSV for offers {offerIds} at {granularity} granularity.
POST /incentivio-reports/loyaltyreport/offers/performance/csv Export offer performance for a client · Get loyalty report offer performance CSV #
Ask an LLM
“How do I export offer performance as a CSV for a client?”
“Can I filter offer performance by store and offer type?”
Tell an agent
Export offer performance as CSV for client {clientName} from {startDate} to {endDate}.
Pull offer performance CSV for {clientName} at stores {storeIds}, offers {offerIds}.
POST /incentivio-reports/loyaltyreport/locations/trends/csv Export location trend data as CSV · Get loyalty report location trends CSV #
Ask an LLM
“How do I download a CSV of store trends?”
“Can I get location trend data for a date range and granularity?”
Tell an agent
Export location trends for stores {storeIds} as CSV from {startDate} to {endDate}.
Download location trend CSV for stores {storeIds} at {granularity} granularity.
POST /incentivio-reports/loyaltyreport/locations/performance/csv Export store performance for a client · Get loyalty report location performance CSV #
Ask an LLM
“Can I export location performance data for a client over a date range?”
“Which columns are supported for a location performance report?”
Tell an agent
Export location performance as CSV for client {clientName} from {startDate} to {endDate}.
Pull location performance CSV for {clientName} at stores {storeIds}.
GET /incentivio-reports/loyaltyreport/offers/trends Get a page of offer trend data · Get loyalty report offers trends page #
Ask an LLM
“How do I page through offer trend data for a date range?”
“Can I filter offer trends to certain offers or stores?”
Tell an agent
Get a page of offer trend data for {dateRange} with pagination {paginationRequest} and data type {datatype}.
Show offer trends for offers {offerIds} over {dateRange} at {granularity} granularity.
GET /incentivio-reports/loyaltyreport/offers/performance/summary Get a summary of offer performance · Get loyalty report offer performance summary #
Ask an LLM
“How do I get a summary of how offers performed?”
“Can I see offer performance for a date range and offer type?”
Tell an agent
Get an offer performance summary for {dateRange}.
Summarize performance of offers {offerIds} over {dateRange} for offer type {offertype}.
GET /incentivio-reports/loyaltyreport/offers/performance/data Get paginated offer performance data · Get loyalty report offer performance data #
Ask an LLM
“How do I page through detailed offer performance data?”
“Can I sort offer performance data for certain offers?”
Tell an agent
Get offer performance data for {dateRange} with pagination {paginationRequest} and sorting {sortingDto}.
Show detailed performance data for offers {offerIds} over {dateRange} sorted by {sortingDto}.
GET /incentivio-reports/loyaltyreport/locations/trends Get a page of location trend data · Get loyalty report locations trends page #
Ask an LLM
“How do I page through store trend data?”
“Can I filter store trends to certain stores?”
Tell an agent
Get a page of location trend data for {dateRange} with pagination {paginationRequest} and data type {datatype}.
Show store trends for stores {storeIds} over {dateRange} at {granularity} granularity.
GET /incentivio-reports/loyaltyreport/locations/performance/summary Get a summary of store performance · Get loyalty report location performance summary #
Ask an LLM
“How do I get a summary of how stores performed?”
“Can I see store performance for a date range?”
Tell an agent
Get a store performance summary for {dateRange}.
Summarize performance of stores {storeIds} over {dateRange}.
GET /incentivio-reports/loyaltyreport/locations/performance/data Get a page of store performance data · Get loyalty report location performance page #
Ask an LLM
“How do I page through detailed store performance data?”
“Can I sort store performance data for certain stores?”
Tell an agent
Get a page of store performance data for {dateRange} with pagination {paginationRequest} and sorting {sortingDto}.
Show detailed performance data for stores {storeIds} over {dateRange} sorted by {sortingDto}.
GET /incentivio-reports/loyaltyreport/franchise/summary Get a franchise loyalty summary · Get loyalty report franchise summary #
Ask an LLM
“How do I get a summary of a franchise's loyalty program?”
“Can I see franchise performance for a date range?”
Tell an agent
Get a franchise loyalty summary for {dateRange}.
Summarize franchise performance for stores {storeIds} over {dateRange}.
GET /incentivio-reports/loyaltyreport/franchise/loyaltysales Get loyalty sales for a franchise · Get loyalty report loyalty sales for franchise #
Ask an LLM
“How do I see loyalty sales for a franchise?”
“Can I get franchise loyalty sales for a date range?”
Tell an agent
Get loyalty sales for a franchise over {dateRange}.
Show franchise loyalty sales for stores {storeIds} over {dateRange}.
GET /incentivio-reports/loyaltyreport/franchise/activemembers Get a franchise's active member timeseries · Get loyalty report sign up timeseries for franchise #
Ask an LLM
“How do I see how a franchise's active members grew over time?”
“Can I get a member sign-up timeseries for a franchise?”
Tell an agent
Get a franchise member sign-up timeseries for {dateRange}.
Show active member growth for stores {storeIds} over {dateRange}.
GET /incentivio-reports/loyaltyreport/brand/summary Get a brand loyalty summary · Get loyalty report summary for brand #
Ask an LLM
“How do I get a summary of a brand's loyalty program?”
“Can I see brand performance for a date range?”
Tell an agent
Get a brand loyalty summary for {dateRange}.
Summarize brand performance over {dateRange}.
GET /incentivio-reports/loyaltyreport/brand/signup/timeseries Get a loyalty sign-up timeseries · Get loyalty report sign up timeseries for brand #
Ask an LLM
“How has loyalty sign-up trended over a date range?”
“Can I get a loyalty sign-up timeseries for my brand?”
Tell an agent
Get the loyalty sign-up timeseries for my brand over {dateRange}.
Show loyalty sign-up trend for the date range {dateRange}.
GET /incentivio-reports/loyaltyreport/brand/signup/aggregate Get a brand's member sign-ups · Get loyalty report sign ups for brand #
Ask an LLM
“How do I get the total number of members a brand signed up?”
“Can I see brand sign-ups for a date range?”
Tell an agent
Get brand sign-ups for {dateRange}.
Count members signed up for brand {Inc-Client-Id} over {dateRange}.
GET /incentivio-reports/loyaltyreport/brand/pointssummary Summarize loyalty points for a brand · Get loyalty report points summary for brand #
Ask an LLM
“How many loyalty points has my brand earned?”
“Can I get a points summary for a date range?”
Tell an agent
Get the loyalty points summary for my brand over {dateRange}.
Show total points earned for the date range {dateRange}.
GET /incentivio-reports/loyaltyreport/brand/orders Get loyalty orders for a brand · Get loyalty report orders for brand #
Ask an LLM
“Which loyalty orders were placed over a date range?”
“Can I export a brand's loyalty orders?”
Tell an agent
Get the loyalty orders for my brand over {dateRange}.
Show every loyalty order placed in {dateRange}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/incentivio:incentivio-loyalty-report-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

incentivio-loyalty-report-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAPI definition Loyalty Report Controller API
  version: v0
servers:
- url: https://adminapi.incentivio.com/incentivio-admin-api
  description: Generated server url
tags:
- name: loyalty-report-controller
paths:
  /incentivio-reports/loyaltyreport/offers/trends/csv:
    post:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportOfferTrendsCSV
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoyaltyReportOfferTrendsCSVRequestDTO'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportCSVResponseDTO'
      summary: Get loyalty report offer trends CSV
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/offers/performance/csv:
    post:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportOfferPerformanceCSV
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoyaltyReportOfferPerformanceCSVRequestDTO'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportCSVResponseDTO'
      summary: Get loyalty report offer performance CSV
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/locations/trends/csv:
    post:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportLocationTrendsCSV
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoyaltyReportLocationTrendsCSVRequestDTO'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportCSVResponseDTO'
      summary: Get loyalty report location trends CSV
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/locations/performance/csv:
    post:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportLocationPerformanceCSV
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoyaltyReportLocationPerformanceCSVRequestDTO'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportCSVResponseDTO'
      summary: Get loyalty report location performance CSV
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/offers/trends:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportOffersTrendsPage
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      - name: paginationRequest
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportPaginationRequest'
      - name: datatype
        in: query
        required: true
        schema:
          type: string
      - name: granularity
        in: query
        required: false
        schema:
          type: string
      - name: offerIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: offertype
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportOfferTrendsResponse'
      summary: Get loyalty report offers trends page
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/offers/performance/summary:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportOfferPerformanceSummary
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      - name: offerIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: offertype
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportPerformanceDTO'
      summary: Get loyalty report offer performance summary
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/offers/performance/data:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportOfferPerformanceData
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      - name: paginationRequest
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportPaginationRequest'
      - name: sortingDto
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/SortingDto'
      - name: offerIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: offertype
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportDataGridOffersPageDTO'
      summary: Get loyalty report offer performance data
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/locations/trends:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportLocationsTrendsPage
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      - name: paginationRequest
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportPaginationRequest'
      - name: datatype
        in: query
        required: true
        schema:
          type: string
      - name: granularity
        in: query
        required: false
        schema:
          type: string
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportLocationTrendsResponse'
      summary: Get loyalty report locations trends page
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/locations/performance/summary:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportLocationPerformanceSummary
      parameters:
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportPerformanceDTO'
      summary: Get loyalty report location performance summary
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/locations/performance/data:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportLocationPerformancePage
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      - name: paginationRequest
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportPaginationRequest'
      - name: sortingDto
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/SortingDto'
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportDataGridLocationsPageDTO'
      summary: Get loyalty report location performance page
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/franchise/summary:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportFranchiseSummary
      parameters:
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportFranchiseSummaryDTO'
      summary: Get loyalty report franchise summary
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/franchise/loyaltysales:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportLoyaltySalesForFranchise
      parameters:
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportTimeSeriesDTO'
      summary: Get loyalty report loyalty sales for franchise
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/franchise/activemembers:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportSignUpTimeseriesForFranchise
      parameters:
      - name: storeIds
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportTimeSeriesDTO'
      summary: Get loyalty report sign up timeseries for franchise
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/brand/summary:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportSummaryForBrand
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportBrandOverallSummaryDTO'
      summary: Get loyalty report summary for brand
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/brand/signup/timeseries:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportSignUpTimeseriesForBrand
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportTimeSeriesDTO'
      summary: Get loyalty report sign up timeseries for brand
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/brand/signup/aggregate:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportSignUpsForBrand
      parameters:
      - name: Inc-Client-Id
        in: header
        required: true
        schema:
          type: string
          minLength: 1
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportPieGraphDTO'
      summary: Get loyalty report sign ups for brand
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/brand/pointssummary:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportPointsSummaryForBrand
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportBrandPointsSummaryDTO'
      summary: Get loyalty report points summary for brand
      x-summary-source: derived
  /incentivio-reports/loyaltyreport/brand/orders:
    get:
      tags:
      - loyalty-report-controller
      operationId: getLoyaltyReportOrdersForBrand
      parameters:
      - name: dateRange
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/LoyaltyReportDateRange'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/LoyaltyReportPieGraphDTO'
      summary: Get loyalty report orders for brand
      x-summary-source: derived
components:
  schemas:
    LoyaltyReportLocationTrendsResponse:
      type: object
      properties:
        dataGrid:
          $ref: '#/components/schemas/LoyaltyReportDataGridLocationTrendsPageDisplayDTO'
        lineChart:
          $ref: '#/components/schemas/LoyaltyReportTimeSeriesDTO'
    LoyaltyReportPaginationRequest:
      type: object
      properties:
        page:
          type: integer
          format: int32
        count:
          type: integer
          format: int32
    LoyaltyReportOfferTrendsResponse:
      type: object
      properties:
        dataGrid:
          $ref: '#/components/schemas/LoyaltyReportDataGridOfferTrendsPageDisplayDTO'
        lineChart:
          $ref: '#/components/schemas/LoyaltyReportTimeSeriesDTO'
    LoyaltyReportTimeSeriesDTO:
      type: object
      properties:
        series:
          type: array
          items:
            $ref: '#/components/schemas/LoyaltyReportLineGraphEntry'
        xlabels:
          type: array
          items:
            type: string
    LoyaltyReportDataGridLocationTrendsPageDisplayDTO:
      type: object
      properties:
        paging:
          $ref: '#/components/schemas/ResultsPagingDTO'
        stores:
          type: array
          items:
            $ref: '#/components/schemas/LoyaltyReportDataGridTrendLocationDisplay'
        total:
          type: array
          items:
            type: string
    LoyaltyReportCSVResponseDTO:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/StatusEnum'
        responseMessage:
          type: string
        data:
          type: object
          additionalProperties: {}
    CardTypeEnum:
      type: string
      enum:
      - number
      - percent
      - currency
    LoyaltyReportDataGridOffersPageDTO:
      type: object
      properties:
        paging:
          $ref: '#/components/schemas/ResultsPagingDTO'
        offers:
          type: array
          items:
            $ref: '#/components/schemas/LoyaltyReportDataGridOfferPerformanceDisplay'
        total:
          $ref: '#/components/schemas/LoyaltyReportDataGridOfferPerformanceDisplay'
    LoyaltyReportBrandPointsSummaryDTO:
      type: object
      properties:
        startingBalance:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        pointsEarned:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        pointsRedeemed:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        pointsExpired:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        endingBalance:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
    LoyaltyReportDataGridOfferPerformanceDisplay:
      type: object
      properties:
        offerId:
          type: string
        displayInfoTitle:
          type: string
        newMembers:
          type: string
        totalMembers:
          type: string
        deletedAccounts:
          type: string
        activeMembers:
          type: string
        activeMemberPercent:
          type: string
        totalOrders:
          type: string
        loyaltyEarnOrders:
          type: string
        loyaltyBurnOrders:
          type: string
        loyaltyNetZeroOrders:
          type: string
        totalLoyaltyOrders:
          type: string
        loyaltyContribution:
          type: string
        allOrdersNetSales:
          type: string
        loyaltyOrdersNetSales:
          type: string
        loyaltySales:
          type: string
        discountAmount:
          type: string
        loyaltyContributionSalesPercent:
          type: string
        loyaltyContributionOrdersPercent:
          type: string
        loyaltyAverageCheck:
          type: string
        mobileLoyaltyOrders:
          type: string
        mobileLoyaltyOrdersPercent:
          type: string
        webLoyaltyOrders:
          type: string
        webLoyaltyOrdersPercent:
          type: string
        scan2PayOrders:
          type: string
        scan2PayOrdersPercent:
          type: string
        inStoreLoyaltyOrders:
          type: string
        inStoreLoyaltyOrdersPercent:
          type: string
        otherLoyaltyOrders:
          type: string
        otherLoyaltyOrdersPercent:
          type: string
        bonusEarnEvents:
          type: string
        uniqueUserScan2Pay:
          type: string
        uniqueUserWeb:
          type: string
        uniqueUserApp:
          type: string
        uniqueUserInStore:
          type: string
        uniqueUserOther:
          type: string
        currentStatus:
          type: string
        offerType:
          type: string
        distributionMethod:
          type: string
        distributionEndDateType:
          type: string
        redemptionEndDateType:
          type: string
        redemptionEndTime:
          type: string
        redemptionDateRangeStart:
          type: string
          format: date-time
        redemptionDateRangeEnd:
          type: string
          format: date-time
        distributionDateRangeStart:
          type: string
          format: date-time
        distributionDateRangeEnd:
          type: string
          format: date-time
        redemptionDateRange:
          type: string
        distributionDateRange:
          type: string
        averageDaysToRedeem:
          type: string
        distributionsAllTime:
          type: string
        distributionsSelectedTimePeriod:
          type: string
        redemptionsCurrent:
          type: string
        redemptionsAllTimeDistributions:
          type: string
        redemptionsSelectedTimePeriodDistributions:
          type: string
        redemptionRateAllTime:
          type: string
        redemptionRateDistributedAndRedeemedInPeriod:
          type: string
        redemptionRateDistributedAllTimeRedeemedInPeriod:
          type: string
        uniqueUserDistributionsSelectedTimePeriod:
          type: string
        uniqueUserOpened:
          type: string
        totalOpened:
          type: string
        uniqueUserDeleted:
          type: string
        totalDeleted:
          type: string
        uniqueUserSaved:
          type: string
        totalSaved:
          type: string
        averageDiscount:
          type: string
    OfferTypeEnum:
      type: string
      enum:
      - ALL
      - loyaltyPointOffer
      - nonPointOffer
    LoyaltyReportDataGridOfferTrendsPageDisplayDTO:
      type: object
      properties:
        paging:
          $ref: '#/components/schemas/ResultsPagingDTO'
        offers:
          type: array
          items:
            $ref: '#/components/schemas/LoyaltyReportDataGridTrendOfferDisplay'
        total:
          type: array
          items:
            type: string
    LoyaltyReportLocationTrendsCSVRequestDTO:
      type: object
      properties:
        clientName:
          type: string
        status:
          $ref: '#/components/schemas/StatusEnum'
        startDate:
          type: string
          format: date
        endDate:
          type: string
          format: date
        storeIds:
          type: array
          items:
            type: string
        dataType:
          type: string
        granularity:
          type: string
    LoyaltyReportBrandOverallSummaryDTO:
      type: object
      properties:
        totalMembers:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        activeMembers:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        activeMembersPercent:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        deletedAccounts:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        loyaltySales:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        loyaltyContributionPercentOfSales:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        loyaltyContributionPercentOfOrders:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        loyaltyAverageOrder:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        membersWhoOrdered:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        activityRateMembersWhoOrdered:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
    LoyaltyReportPieGraphEntry:
      type: object
      properties:
        label:
          type: string
        value:
          type: number
    LoyaltyReportDataGridLocationsPageDTO:
      type: object
      properties:
        paging:
          $ref: '#/components/schemas/ResultsPagingDTO'
        stores:
          type: array
          items:
            $ref: '#/components/schemas/LoyaltyReportDataGridLocationPerformanceDisplay'
        total:
          $ref: '#/components/schemas/LoyaltyReportDataGridLocationPerformanceDisplay'
    LoyaltyReportPieGraphDTO:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/LoyaltyReportPieGraphEntry'
    LoyaltyReportDataGridTrendLocationDisplay:
      type: object
      properties:
        storeId:
          type: string
        displayInfoTitle:
          type: string
        data:
          type: array
          items:
            type: string
    LoyaltyReportFranchiseSummaryDTO:
      type: object
      properties:
        activeMembers:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        activeMembersPercent:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        systemActiveMembersPercent:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        contributionRate:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        systemContributionRate:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
    LoyaltyReportPerformanceDTO:
      type: object
      properties:
        loyaltyEarnOrders:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        loyaltyBurnOrders:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        loyaltyOrdersNetSales:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        discountAmount:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
        activeMembers:
          $ref: '#/components/schemas/LoyaltyReportSummaryCard'
    LoyaltyReportOfferPerformanceCSVRequestDTO:
      type: object
      properties:
        clientName:
          type: string
        status:
          $ref: '#/components/schemas/StatusEnum'
        startDate:
          type: string
          format: date
        endDate:
          type: string
          format: date
        storeIds:
          type: array
          items:
            type: string
        offerIds:
          type: array
          items:
            type: string
        columns:
          type: array
          items:
            type: string
        offerType:
          $ref: '#/components/schemas/OfferTypeEnum'
    LoyaltyReportLineGraphEntry:
      type: object
      properties:
        label:
          type: string
        data:
          type: array
          items:
            type: number
    LoyaltyReportLocationPerformanceCSVRequestDTO:
      type: object
      properties:
        clientName:
          type: string
        status:
          $ref: '#/components/schemas/StatusEnum'
        startDate:
          type: string
          format: date
        endDate:
          type: string
          format: date
        storeIds:
          type: array
          items:
            type: string
        columns:
          type: array
          items:
            type: string
    SortingDto:
      type: object
      properties:
        sortBy:
          type: string
        sortDirection:
          type: string
    ResultsPagingDTO:
      type: object
      properties:
        total:
          type: integer
          format: int64
        count:
          type: integer
          format: int32
        totalPages:
          type: integer
          format: int64
        currentPage:
          type: integer
          format: int32
    LoyaltyReportSummaryCard:
      type: object
      properties:
        value:
          type: number
        comparisonNumber:
          type: number
        sparkLineData:
          type: array
          items:
            type: number
        cardType:
          $ref: '#/components/schemas/CardTypeEnum'
    LoyaltyReportDataGridLocationPerformanceDisplay:
      type: object
      properties:
        locationId:
          type: string
        displayInfoTitle:
          type: string
        newMembers:
          type: string
        totalMembers:
          type: string
        deletedAccounts:
          type: string
        activeMembers:
          type: string
        activeMemberPercent:
          type: string
        totalOrders:
          type: string
        loyaltyEarnOrders:
          type: string
        loyaltyBurnOrders:
          type: string
        loyaltyNetZeroOrders:
          type: string
        totalLoyaltyOrders:
          type: string
        loyaltyContribution:
          type: string
        allOrdersNetSales:
          type: string
        loyaltyOrdersNetSales:
          type: string
        loyaltySales:
          type: string
        discountAmount:
          type: string
        loyaltyContributionSalesPercent:
          type: string
        loyaltyContributionOrdersPercent:
          type: string
        loyaltyAverageCheck:
          type: string
        mobileLoyaltyOrders:
          type: string
        mobileLoyaltyOrdersPercent:
          type: string
        webLoyaltyOrders:
          type: string
        webLoyaltyOrdersPercent:
          type: string
        scan2PayOrders:
          type: string
        scan2PayOrdersPercent:
          type: string
        inStoreLoyaltyOrders:
          type: string
        inStoreLoyaltyOrdersPercent:
          type: string
        otherLoyaltyOrders:
          type: string
        otherLoyaltyOrdersPercent:
          type: string
        bonusEarnEvents:
          type: string
        uniqueUserScan2Pay:
          type: string
        uniqueUserWeb:
          type: string
        uniqueUserApp:
          type: string
        uniqueUserInStore:
          type: string
        uniqueUserOther:
          type: string
    LoyaltyReportOfferTrendsCSVRequestDTO:
      type: object
      properties:
        clientName:
          type: string
        status:
          $ref: '#/components/schemas/StatusEnum'
        startDate:
          type: string
          format: date
        endDate:
          type: string
          format: date
        storeIds:
          type: array
          items:
            type: string
        offerIds:
          type: array
          items:
            type: string
        dataType:
          type: string
        granularity:
          type: string
        offerType:
          $ref: '#/components/schemas/OfferTypeEnum'
    LoyaltyReportDateRange:
      type: object
      properties:
        startdate:
          type: string
          format: date
        enddate:
          type: string
          format: date
        comparisonstartdate:
          type: string
          format: date
        comparisonenddate:
          type: string
          format: date
    StatusEnum:
      type: string
      enum:
      - INPROGRESS
      - SUCCESS
      - FAILED
      - EMAILED
      - RETRYING
      - DOWNLOADED
      - NODATA
    LoyaltyReportDataGridTrendOfferDisplay:
      type: object
      properties:
        offerId:
          type: string
        displayInfoTitle:
          type: string
        data:
          type: array
          items:
            type: string