Flipdish Vouchers API

Operations for Vouchers.

GitHub OpenAPI
Business capability
Discount & Promotion Management BC-440.30

Operations 10

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

GET /api/v1.0/vouchers/{voucherId} Get a voucher by id · Get voucher by id #
Ask an LLM
“How do I look up a voucher's details from its id?”
“Can I fetch a single voucher by its id?”
Tell an agent
Get voucher {voucherId}.
Show me the details of voucher {voucherId}.
POST /api/v1.0/vouchers/{voucherId} Update a voucher's details · Update voucher #
Ask an LLM
“How do I change the discount amount on an existing voucher?”
“Can I make a voucher valid only for delivery orders?”
Tell an agent
Set the discount on voucher {voucherId} to {percentValue} percent.
Make voucher {voucherId} valid only for delivery orders.
GET /api/v1.0/{appId}/vouchers/code/{code} Look up a voucher by code · Get voucher by code #
Ask an LLM
“Is a particular promotional voucher still valid?”
“Can I get the details of a voucher from its code?”
Tell an agent
Get voucher {code} for app {appId}.
Look up the validity code {code} on app {appId}.
GET /api/v1.0/vouchers/{appId}/customer/{customerId} List a customer's vouchers · Get vouchers by customer for app #
Ask an LLM
“Which vouchers have been issued to a particular customer?”
“Can I list all vouchers a customer can use?”
Tell an agent
List the vouchers issued to customer {customerId} in app {appId}.
Show every voucher customer {customerId} can use.
GET /api/v1.0/{appId}/vouchers/{voucherId}/validity-periods Get a voucher's validity periods · Get voucher validity periods #
Ask an LLM
“When is a voucher valid each day?”
“Can I see the validity periods set on a voucher?”
Tell an agent
Get the validity periods of voucher {voucherId} in app {appId}.
Show when voucher {voucherId} is valid.
GET /api/v1.0/vouchers/stats/{voucherId} Get a voucher's redemption stats · Get voucher stats by id #
Ask an LLM
“How many times has a voucher been redeemed?”
“Can I get aggregated stats for a voucher?”
Tell an agent
Get {aggregateDataBy} stats for voucher {voucherId}.
Show how many times voucher {voucherId} has been used.
GET /api/v1.0/{appId}/vouchers/summaries List vouchers · Get vouchers #
Ask an LLM
“How do I list all vouchers in an app?”
“Can I filter vouchers by type or status?”
Tell an agent
List all vouchers in app {appId}.
List vouchers in app {appId} with status {statusSearch}.
POST /api/v1.0/vouchers/{appId} Create a voucher · Create voucher #
Ask an LLM
“How do I create a new discount voucher?”
“Can I create a voucher that is valid only for first orders?”
Tell an agent
Create a {VoucherType} voucher {Code} in app {appId}.
Create a voucher {Code} that is valid only for first orders.
POST /api/v1.0/{appId}/vouchers/{voucherId}/usage Mark a voucher as used · Update voucher usage #
Ask an LLM
“How do I record that a customer actually used their voucher?”
“Can I note who redeemed a voucher, and the transaction key?”
Tell an agent
Mark voucher {voucherId} as used on app {appId}.
Record that customer {UsedByCustomerId} used voucher {voucherId} with transaction {TransactionKey}.
POST /api/v1.0/{appId}/vouchers/{voucherId}/validity-periods-simplified Set a voucher's daily validity hours · Set voucher validity periods simplified #
Ask an LLM
“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?”
Tell an agent
Set voucher {voucherId} valid on {DaysOfWeek} from {StartTime} to {EndTime} on app {appId}.
Make voucher {voucherId} usable daily between {StartTime} and {EndTime}.

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/flipdish:flipdish-vouchers-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

flipdish-vouchers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1.0
  title: Flipdish Open API v1.0 Vouchers API
servers:
- url: https://api.flipdish.co
tags:


# --- truncated at 32 KB (72 KB total) ---
# Full source: https://artifacts.apis.io/flipdish/openapi/flipdish-vouchers-api-openapi.yml