Keap · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Keap Order Total Discounts API
8 actions
8 updates
phrasing
extends
openapi/keap-order-total-discounts-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Keap's API. It is a proposal applied on top of the contract, not a document Keap publishes.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/rest/v2/discounts/orderTotals'].get
$.paths['/rest/v2/discounts/orderTotals'].post
$.paths['/rest/v2/discounts/orderTotals/{discount_id}/criteria'].post
$.paths['/rest/v2/discounts/orderTotals/{discount_id}'].get
$.paths['/rest/v2/discounts/orderTotals/{discount_id}'].delete
$.paths['/rest/v2/discounts/orderTotals/{discount_id}'].patch
$.paths['/rest/v2/discounts/orderTotals/{discount_id}/criteria/{criteria_id}'].delete
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Keap Order Total Discounts API
version: 1.0.0
extends: openapi/keap-order-total-discounts-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 7
- target: $.paths['/rest/v2/discounts/orderTotals'].get
update:
x-apievangelist-phrasing:
intent: List order total discounts
effect: read
questions:
- Which order total discounts are set up in Keap?
- Can I filter order total discounts by strategy or type?
instructions:
- text: List all order total discounts.
- text: Show order total discounts matching {filter}.
slots:
filter: query.filter
method: generated
generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/orderTotals'].post
update:
x-apievangelist-phrasing:
intent: Create an order total discount
effect: write
questions:
- How do I give a percentage discount on the total of an order?
- Can an order total discount apply to commission calculations?
instructions:
- text: Create order total discount {name} of type {discount_type} worth {discount_value}.
slots:
name: requestBody.name
discount_type: requestBody.discount_type
discount_value: requestBody.discount_value
- text: 'Add order total discount {name} applying to commissions: {apply_to_commissions}.'
slots:
name: requestBody.name
apply_to_commissions: requestBody.apply_to_commissions
method: generated
generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/orderTotals/{discount_id}/criteria'].post
update:
x-apievangelist-phrasing:
intent: Add criteria to an order total discount
effect: write
questions:
- How do I make an order total discount apply only to orders over a certain amount?
- Can I restrict an order total discount to a promo code?
instructions:
- text: Add an order total criteria to discount {discount_id} for orders over {total_amount}.
slots:
discount_id: path.discount_id
total_amount: requestBody.total_amount
- text: Restrict order total discount {discount_id} to promo code {code}.
slots:
discount_id: path.discount_id
code: requestBody.code
method: generated
generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/orderTotals/{discount_id}'].get
update:
x-apievangelist-phrasing:
intent: Retrieve an order total discount
effect: read
questions:
- What are the settings of a particular order total discount?
- Can I look up one order total discount by its ID?
instructions:
- text: Show order total discount {discount_id}.
slots:
discount_id: path.discount_id
- text: Get the criteria on order total discount {discount_id}.
slots:
discount_id: path.discount_id
method: generated
generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/orderTotals/{discount_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete an order total discount
effect: destructive
questions:
- How do I remove an order total discount?
- Can I delete an order total discount by its ID?
instructions:
- text: Delete order total discount {discount_id}.
slots:
discount_id: path.discount_id
- text: Remove the order total discount {discount_id}.
slots:
discount_id: path.discount_id
method: generated
generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/orderTotals/{discount_id}'].patch
update:
x-apievangelist-phrasing:
intent: Update an order total discount
effect: write
questions:
- Can I change the value of an existing order total discount?
- Is it possible to stop an order total discount applying to commissions?
instructions:
- text: Change order total discount {discount_id} to value {discount_value}.
slots:
discount_id: path.discount_id
discount_value: requestBody.discount_value
- text: Set apply-to-commissions on order total discount {discount_id} to {apply_to_commissions}.
slots:
discount_id: path.discount_id
apply_to_commissions: requestBody.apply_to_commissions
method: generated
generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/orderTotals/{discount_id}/criteria/{criteria_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a criterion from an order total discount
effect: destructive
questions:
- How do I remove a specific order total discount criterion?
- Can I delete one criteria entry from an order total discount?
instructions:
- text: Delete order total discount criterion {criteria_id} from discount {discount_id}.
slots:
criteria_id: path.criteria_id
discount_id: path.discount_id
- text: Remove {criteria_id} from order total discount {discount_id}.
slots:
criteria_id: path.criteria_id
discount_id: path.discount_id
method: generated
generated: '2026-11-18'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/keap-order-total-discounts-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.