Flipdish · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Flipdish Open API v1.0 Vouchers API

11 actions 11 updates phrasing extends openapi/flipdish-vouchers-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Flipdish's API. It is a proposal applied on top of the contract, not a document Flipdish publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/api/v1.0/vouchers/{voucherId}'].get
$.paths['/api/v1.0/vouchers/{voucherId}'].post
$.paths['/api/v1.0/{appId}/vouchers/code/{code}'].get
$.paths['/api/v1.0/vouchers/{appId}/customer/{customerId}'].get
$.paths['/api/v1.0/{appId}/vouchers/{voucherId}/validity-periods'].get
$.paths['/api/v1.0/vouchers/stats/{voucherId}'].get
$.paths['/api/v1.0/{appId}/vouchers/summaries'].get
$.paths['/api/v1.0/vouchers/{appId}'].post
$.paths['/api/v1.0/{appId}/vouchers/{voucherId}/usage'].post
$.paths['/api/v1.0/{appId}/vouchers/{voucherId}/validity-periods-simplified'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Flipdish Open API v1.0 Vouchers API
  version: 1.0.0
extends: openapi/flipdish-vouchers-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/api/v1.0/vouchers/{voucherId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a voucher by id
      effect: read
      questions:
      - How do I look up a voucher's details from its id?
      - Can I fetch a single voucher by its id?
      instructions:
      - text: Get voucher {voucherId}.
        slots:
          voucherId: path.voucherId
      - text: Show me the details of voucher {voucherId}.
        slots:
          voucherId: path.voucherId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/vouchers/{voucherId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a voucher's details
      effect: write
      questions:
      - How do I change the discount amount on an existing voucher?
      - Can I make a voucher valid only for delivery orders?
      - Is it possible to set a voucher to be valid only once in total?
      instructions:
      - text: Set the discount on voucher {voucherId} to {percentValue} percent.
        slots:
          voucherId: path.voucherId
          percentValue: query.percentValue
      - text: Make voucher {voucherId} valid only for delivery orders.
        slots:
          voucherId: path.voucherId
      - text: Set voucher {voucherId} to be valid only once in total.
        slots:
          voucherId: path.voucherId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/{appId}/vouchers/code/{code}'].get
  update:
    x-apievangelist-phrasing:
      intent: Look up a voucher by code
      effect: read
      questions:
      - Is a particular promotional voucher still valid?
      - Can I get the details of a voucher from its code?
      instructions:
      - text: Get voucher {code} for app {appId}.
        slots:
          code: path.code
          appId: path.appId
      - text: Look up the validity code {code} on app {appId}.
        slots:
          code: path.code
          appId: path.appId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/vouchers/{appId}/customer/{customerId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List a customer's vouchers
      effect: read
      questions:
      - Which vouchers have been issued to a particular customer?
      - Can I list all vouchers a customer can use?
      instructions:
      - text: List the vouchers issued to customer {customerId} in app {appId}.
        slots:
          customerId: path.customerId
          appId: path.appId
      - text: Show every voucher customer {customerId} can use.
        slots:
          customerId: path.customerId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/{appId}/vouchers/{voucherId}/validity-periods'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a voucher's validity periods
      effect: read
      questions:
      - When is a voucher valid each day?
      - Can I see the validity periods set on a voucher?
      instructions:
      - text: Get the validity periods of voucher {voucherId} in app {appId}.
        slots:
          voucherId: path.voucherId
          appId: path.appId
      - text: Show when voucher {voucherId} is valid.
        slots:
          voucherId: path.voucherId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/vouchers/stats/{voucherId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a voucher's redemption stats
      effect: read
      questions:
      - How many times has a voucher been redeemed?
      - Can I get aggregated stats for a voucher?
      instructions:
      - text: Get {aggregateDataBy} stats for voucher {voucherId}.
        slots:
          aggregateDataBy: query.aggregateDataBy
          voucherId: path.voucherId
      - text: Show how many times voucher {voucherId} has been used.
        slots:
          voucherId: path.voucherId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/{appId}/vouchers/summaries'].get
  update:
    x-apievangelist-phrasing:
      intent: List vouchers
      effect: read
      questions:
      - How do I list all vouchers in an app?
      - Can I filter vouchers by type or status?
      instructions:
      - text: List all vouchers in app {appId}.
        slots:
          appId: path.appId
      - text: List vouchers in app {appId} with status {statusSearch}.
        slots:
          appId: path.appId
          statusSearch: query.statusSearch
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/vouchers/{appId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a voucher
      effect: write
      questions:
      - How do I create a new discount voucher?
      - Can I create a voucher that is valid only for first orders?
      instructions:
      - text: Create a {VoucherType} voucher {Code} in app {appId}.
        slots:
          VoucherType: requestBody.VoucherType
          Code: requestBody.Code
          appId: path.appId
      - text: Create a voucher {Code} that is valid only for first orders.
        slots:
          Code: requestBody.Code
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/{appId}/vouchers/{voucherId}/usage'].post
  update:
    x-apievangelist-phrasing:
      intent: Mark a voucher as used
      effect: write
      questions:
      - How do I record that a customer actually used their voucher?
      - Can I note who redeemed a voucher, and the transaction key?
      instructions:
      - text: Mark voucher {voucherId} as used on app {appId}.
        slots:
          voucherId: path.voucherId
          appId: path.appId
      - text: Record that customer {UsedByCustomerId} used voucher {voucherId} with transaction {TransactionKey}.
        slots:
          UsedByCustomerId: requestBody.UsedByCustomerId
          voucherId: path.voucherId
          TransactionKey: requestBody.TransactionKey
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v1.0/{appId}/vouchers/{voucherId}/validity-periods-simplified'].post
  update:
    x-apievangelist-phrasing:
      intent: Set a voucher's daily validity hours
      effect: write
      questions:
      - Can I restrict a voucher to work only on certain days of the week and hours of the day?
      - What happens if the daily end time is earlier than the start time on a voucher?
      instructions:
      - text: Set voucher {voucherId} valid on {DaysOfWeek} from {StartTime} to {EndTime} on app {appId}.
        slots:
          voucherId: path.voucherId
          DaysOfWeek: requestBody.DaysOfWeek
          StartTime: requestBody.StartTime
          EndTime: requestBody.EndTime
          appId: path.appId
      - text: Make voucher {voucherId} usable daily between {StartTime} and {EndTime}.
        slots:
          voucherId: path.voucherId
          StartTime: requestBody.StartTime
          EndTime: requestBody.EndTime
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/flipdish-vouchers-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.