Talon.One Coupons API

Represents unique codes belonging to a particular campaign. Coupons don't define any behavior on their own. Instead the campaign ruleset can include rules that validate coupons and carry out particular effects. See the [docs](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview).

Business capability
Discount & Promotion Management BC-440.30

Operations 17

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 /v1/coupon_reservations/{couponValue} Reserve a coupon code for specific customers · Create coupon reservation #
Ask an LLM
“How do I reserve a coupon code so only certain customers can use it?”
“Can one coupon be reserved for several customer profiles at once?”
Tell an agent
Reserve coupon {couponValue} for customers {integrationIDs}.
Mark coupon code {couponValue} as reserved for profile {integrationIDs}.
DELETE /v1/coupon_reservations/{couponValue} Remove coupon reservations from customers · Delete coupon reservations #
Ask an LLM
“Can I take back a coupon I reserved for a customer?”
“What removes a coupon reservation for a list of customer profiles?”
Tell an agent destructive · confirm first
Remove the reservation of coupon {couponValue} for customers {integrationIDs}.
Unreserve coupon code {couponValue} from profile {integrationIDs}.
GET /v1/coupon_reservations/customerprofiles/{couponValue} List customers who have a coupon reserved · List customers that have this coupon reserved #
Ask an LLM
“Which customers currently hold a reservation on a given coupon code?”
“Does the reserved-customer list include both hard and soft reservations?”
Tell an agent
List the customers who have coupon {couponValue} reserved.
Show who reserved coupon code {couponValue}.
POST /v1/applications/{applicationId}/campaigns/{campaignId}/coupons Generate coupon codes from a pattern · Create coupons #
Ask an LLM
“How many coupons can I generate in one go, with and without a unique prefix?”
“Can I generate coupon codes that follow a specific pattern for a campaign?”
Tell an agent
Create {numberOfCoupons} coupons in campaign {campaignId} of application {applicationId}.
Generate {numberOfCoupons} coupons with prefix {uniquePrefix} for campaign {campaignId} in application {applicationId}.
PUT /v1/applications/{applicationId}/campaigns/{campaignId}/coupons Bulk update all or a batch of a campaign's coupons · Update coupons #
Ask an LLM
“Can I extend the expiry date of every coupon in a campaign at once?”
“How do I change the usage limit for one batch of coupons?”
Tell an agent
Set the expiry date of all coupons in campaign {campaignId} of application {applicationId} to {expiryDate}.
Change the usage limit to {usageLimit} for coupon batch {batchID} in campaign {campaignId}, application {applicationId}.
DELETE /v1/applications/{applicationId}/campaigns/{campaignId}/coupons Delete all coupons matching filters · Delete coupons #
Ask an LLM
“Can I delete every expired coupon in a campaign right away?”
“How do I wipe all coupons from one batch?”
Tell an agent destructive · confirm first
Delete all coupons in campaign {campaignId} of application {applicationId} that expired before {expiresBefore}.
Bulk delete every coupon in batch {batchId} of campaign {campaignId}, application {applicationId}.
POST /v1/applications/{applicationId}/campaigns/{campaignId}/coupons_with_recipients Create coupons for a list of recipients · Create coupons for multiple recipients #
Ask an LLM
“Can I issue a personal coupon to each of up to 1000 customers in one call?”
“What's the limit on recipients when creating coupons for many customers?”
Tell an agent
Create a coupon for each of customers {recipientsIntegrationIds} in campaign {campaignId}, application {applicationId}.
Issue per-recipient coupons expiring {expiryDate} to {recipientsIntegrationIds} for campaign {campaignId} in application {applicationId}.
POST /v1/applications/{applicationId}/campaigns/{campaignId}/coupons_async Create millions of coupons as a background job · Create coupons asynchronously #
Ask an LLM
“What should I use when I need more than 20,000 coupons?”
“Will I be notified when a large asynchronous coupon generation finishes?”
Tell an agent
Asynchronously create {numberOfCoupons} coupons with attributes {attributes} in campaign {campaignId}, application {applicationId}.
Start a background job generating {numberOfCoupons} coupons for campaign {campaignId} in application {applicationId}, with attributes {attributes}.
POST /v1/applications/{applicationId}/campaigns/{campaignId}/coupons_deletion_jobs Delete coupons in a background job · Creates a coupon deletion job #
Ask an LLM
“Can I delete a huge number of coupons asynchronously instead of in one request?”
“What filters does a coupon deletion job accept?”
Tell an agent destructive · confirm first
Start a coupon deletion job with filters {filters} for campaign {campaignId} in application {applicationId}.
Queue asynchronous deletion of coupons matching {filters} in campaign {campaignId}, application {applicationId}.
GET /v1/applications/{applicationId}/campaigns/{campaignId}/coupons/no_total List a campaign's coupons · List coupons #
Ask an LLM
“Which coupons in my campaign have already been redeemed?”
“Can I list only the coupon codes that are still usable in a campaign?”
Tell an agent
List the coupons in campaign {campaignId} of application {applicationId}.
Show redeemed coupons in campaign {campaignId}, application {applicationId}, where redeemed is {redeemed}.
PUT /v1/applications/{applicationId}/campaigns/{campaignId}/coupons/{couponId} Update a single coupon · Update coupon #
Ask an LLM
“Can I change the expiry date on just one coupon?”
“Why did a coupon's start date become null after I updated it?”
Tell an agent
Set coupon {couponId} in campaign {campaignId}, application {applicationId}, to expire on {expiryDate}.
Assign coupon {couponId} in campaign {campaignId} of application {applicationId} to recipient {recipientIntegrationId}.
DELETE /v1/applications/{applicationId}/campaigns/{campaignId}/coupons/{couponId} Delete a single coupon · Delete coupon #
Ask an LLM
“How do I remove one specific coupon from a campaign?”
“Can I delete an individual coupon by its ID?”
Tell an agent destructive · confirm first
Delete only the coupon with ID {couponId} (campaign {campaignId}, application {applicationId}).
Remove the single coupon {couponId} in campaign {campaignId}, application {applicationId}.
POST /v1/applications/{applicationId}/campaigns/{campaignId}/coupons_search_advanced/no_total Search a campaign's coupons by attributes · List coupons that match the given attributes in campaign (without total count) #
Ask an LLM
“Can I find coupons in one campaign whose custom attributes match certain values?”
“Does an attribute search within a campaign match coupons that have extra attributes?”
Tell an agent
Search coupons in campaign {campaignId} of application {applicationId} by custom attributes.
Find valid coupons matching given attributes in campaign {campaignId}, application {applicationId}, where valid is {valid}.
POST /v1/applications/{applicationId}/coupons_search_advanced/no_total Search coupons by attributes across all campaigns · List coupons that match the given attributes (without total count) #
Ask an LLM
“Can I search coupon attributes across every campaign in an Application?”
“Is it possible to limit an application-wide coupon search to campaigns in a certain state?”
Tell an agent
Search coupons by attributes across all campaigns of application {applicationId}.
Find coupons matching given attributes in application {applicationId}, only in {campaignState} campaigns.
POST /v1/applications/{applicationId}/campaigns/{campaignId}/import_coupons Import coupons from a CSV file · Import coupons #
Ask an LLM
“How do I upload my own coupon codes from a spreadsheet?”
“What columns does the coupon import CSV need?”
Tell an agent
Import coupons from file {upFile} into campaign {campaignId} of application {applicationId}.
Upload coupon CSV {upFile} to campaign {campaignId}, application {applicationId}, with skipDuplicates {skipDuplicates}.
GET /v1/applications/{applicationId}/export_coupons Export coupons to a CSV file · Export coupons #
Ask an LLM
“How can I download all coupons of an Application as a CSV?”
“Can the coupon export include coupons deleted within a date range?”
Tell an agent
Export the coupons of application {applicationId} to CSV.
Download a CSV of coupons for campaign {campaignId} in application {applicationId}.
GET /v1/coupon_rejections Explain why coupons failed to redeem in a session · Summarize coupon redemption failures in session #
Ask an LLM
“Why was a customer's coupon rejected at checkout?”
“Can I get the failure reasons for one coupon code in a session, in another language?”
Tell an agent
Summarize coupon redemption failures in session {sessionIntegrationId}.
Explain why coupon {couponCode} was rejected in session {sessionIntegrationId}.

Documentation

Specifications

Other Resources

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/talon-one:talon-one-coupons-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

talon-one-coupons-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Talon One Coupons API
  version: ''
  description: 'Operations tagged Coupons across 2 of this provider''s published API definitions: talon-one-integration-api-openapi.yml, talon-one-management-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://yourbaseurl.talon.one
tags:


# --- truncated at 32 KB (87 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/talon-one/refs/heads/main/openapi/talon-one-coupons-api-openapi.yml