Keap · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Keap Shipping Discounts API

8 actions 8 updates phrasing extends openapi/keap-shipping-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/rest/v2/discounts/shipping'].get
$.paths['/rest/v2/discounts/shipping'].post
$.paths['/rest/v2/discounts/shipping/{discount_id}/criteria'].post
$.paths['/rest/v2/discounts/shipping/{discount_id}'].get
$.paths['/rest/v2/discounts/shipping/{discount_id}'].delete
$.paths['/rest/v2/discounts/shipping/{discount_id}'].patch
$.paths['/rest/v2/discounts/shipping/{discount_id}/criteria/{criteria_id}'].delete

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 Keap Shipping Discounts API
  version: 1.0.0
extends: openapi/keap-shipping-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/shipping'].get
  update:
    x-apievangelist-phrasing:
      intent: List shipping discounts
      effect: read
      questions:
      - What shipping discounts are set up for my store?
      - Can I filter shipping discounts by type or value?
      instructions:
      - text: List all shipping discounts.
      - text: Show shipping discounts matching {filter}.
        slots:
          filter: query.filter
      method: generated
      generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/shipping'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a shipping discount
      effect: write
      questions:
      - How do I give free shipping on orders over a certain amount?
      - Can a shipping discount be a percentage off rather than a fixed amount?
      instructions:
      - text: Create a {discount_type} shipping discount of {discount_value} named {name}.
        slots:
          discount_type: requestBody.discount_type
          discount_value: requestBody.discount_value
          name: requestBody.name
      - text: Add a new shipping discount called {name} with {discount_type} {discount_value}.
        slots:
          name: requestBody.name
          discount_type: requestBody.discount_type
          discount_value: requestBody.discount_value
      method: generated
      generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/shipping/{discount_id}/criteria'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a condition to a shipping discount
      effect: write
      questions:
      - How do I make a shipping discount apply only to a promo code?
      - Can a shipping discount be limited to a date range or a product?
      instructions:
      - text: Add a {type} criteria to shipping discount {discount_id}.
        slots:
          type: requestBody.type
          discount_id: path.discount_id
      - text: Make shipping discount {discount_id} apply only to promo code {code}.
        slots:
          discount_id: path.discount_id
          code: requestBody.code
      method: generated
      generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/shipping/{discount_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a shipping discount
      effect: read
      questions:
      - What are the details of one shipping discount?
      - Can I look up a shipping discount by its ID?
      instructions:
      - text: Get shipping discount {discount_id}.
        slots:
          discount_id: path.discount_id
      - text: Show the shipping discount with ID {discount_id}.
        slots:
          discount_id: path.discount_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/shipping/{discount_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a shipping discount
      effect: destructive
      questions:
      - How do I remove a shipping discount I no longer offer?
      - Can I delete a shipping discount by its ID?
      instructions:
      - text: Delete shipping discount {discount_id}.
        slots:
          discount_id: path.discount_id
      - text: Remove the shipping discount with ID {discount_id}.
        slots:
          discount_id: path.discount_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/shipping/{discount_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a shipping discount
      effect: write
      questions:
      - Can I change the amount of an existing shipping discount?
      - Is it possible to rename a shipping discount without touching its criteria?
      instructions:
      - text: Set the value of shipping discount {discount_id} to {discount_value}.
        slots:
          discount_id: path.discount_id
          discount_value: requestBody.discount_value
      - text: Rename shipping discount {discount_id} to {name}.
        slots:
          discount_id: path.discount_id
          name: requestBody.name
      method: generated
      generated: '2026-11-18'
- target: $.paths['/rest/v2/discounts/shipping/{discount_id}/criteria/{criteria_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a shipping discount criteria
      effect: destructive
      questions:
      - Can I remove a single condition from a shipping discount?
      - How do I delete a shipping discount criteria by its IDs?
      instructions:
      - text: Delete shipping discount criteria {criteria_id} from discount {discount_id}.
        slots:
          criteria_id: path.criteria_id
          discount_id: path.discount_id
      - text: Remove condition {criteria_id} of shipping 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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/keap-shipping-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.