Stamped · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Loyalty Operations Customer Actions API

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

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/adjust-points'].post
$.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/adjust-vip-tier'].post
$.paths['/api/v3/loyalty/shops/{shopId}/activities'].post
$.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/redeem-reward/{rewardId}'].post
$.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/trigger-activity'].post
$.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/void-coupon/{couponCode}'].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 Loyalty Operations Customer Actions API
  version: 1.0.0
extends: openapi/stamped-customer-actions-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: 6
- target: $.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/adjust-points'].post
  update:
    x-apievangelist-phrasing:
      intent: Adjust a customer's loyalty points
      effect: write
      questions:
      - How do I give a customer extra loyalty points for a review?
      - Can I take points away from a customer for a return?
      instructions:
      - text: Adjust the points of customer {customerId} in shop {shopId} by {points}.
        slots:
          customerId: path.customerId
          shopId: path.shopId
          points: requestBody.points
      - text: Give customer {customerId} in shop {shopId} {points} points for reason {reason}.
        slots:
          customerId: path.customerId
          shopId: path.shopId
          points: requestBody.points
          reason: requestBody.reason
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/adjust-vip-tier'].post
  update:
    x-apievangelist-phrasing:
      intent: Change a customer's VIP tier
      effect: write
      questions:
      - How do I promote a customer to a higher VIP tier?
      - Can I drop a customer down to a lower VIP tier?
      instructions:
      - text: Set customer {customerId} in shop {shopId} to VIP tier {tierName}.
        slots:
          customerId: path.customerId
          shopId: path.shopId
          tierName: requestBody.tierName
      - text: Promote customer {customerId} to VIP tier {tierName} in shop {shopId}.
        slots:
          customerId: path.customerId
          tierName: requestBody.tierName
          shopId: path.shopId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v3/loyalty/shops/{shopId}/activities'].post
  update:
    x-apievangelist-phrasing:
      intent: Record a custom loyalty activity
      effect: write
      questions:
      - How do I log a custom loyalty activity for a customer?
      - Can I trigger a custom activity rule by email?
      instructions:
      - text: Record a custom loyalty activity in shop {shopId}.
        slots:
          shopId: path.shopId
      - text: Trigger custom activity rule {campaignId} for {email} in shop {shopId}.
        slots:
          campaignId: query.campaignId
          email: query.email
          shopId: path.shopId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/redeem-reward/{rewardId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Redeem a loyalty reward for a customer
      effect: write
      questions:
      - Can a customer redeem a loyalty reward using points?
      - Can I track how many points a customer used on a reward redemption?
      instructions:
      - text: Redeem reward {rewardId} for customer {customerId} in shop {shopId}.
        slots:
          rewardId: path.rewardId
          customerId: path.customerId
          shopId: path.shopId
      - text: Apply {points} points toward redeeming reward {rewardId} for {customerId} at shop {shopId}.
        slots:
          points: query.points
          rewardId: path.rewardId
          customerId: path.customerId
          shopId: path.shopId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/trigger-activity'].post
  update:
    x-apievangelist-phrasing:
      intent: Trigger a loyalty activity
      effect: write
      questions:
      - How do I manually trigger a loyalty activity for a customer?
      - Can I fire a loyalty rule by its rule ID?
      instructions:
      - text: Trigger loyalty activity {ruleId} for customer {customerId} in shop {shopId}.
        slots:
          ruleId: query.ruleId
          customerId: path.customerId
          shopId: path.shopId
      - text: Fire loyalty rule {ruleId} titled {title} for customer {customerId} in shop {shopId}.
        slots:
          ruleId: query.ruleId
          title: query.title
          customerId: path.customerId
          shopId: path.shopId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/api/v3/loyalty/shops/{shopId}/customers/{customerId}/void-coupon/{couponCode}'].post
  update:
    x-apievangelist-phrasing:
      intent: Void a customer's coupon
      effect: destructive
      questions:
      - How do I void a customer's coupon?
      - Can I cancel a loyalty coupon code?
      instructions:
      - text: Void coupon {couponCode} for customer {customerId} in shop {shopId}.
        slots:
          couponCode: path.couponCode
          customerId: path.customerId
          shopId: path.shopId
      - text: Cancel customer {customerId}'s coupon {couponCode} in shop {shopId}.
        slots:
          customerId: path.customerId
          couponCode: path.couponCode
          shopId: path.shopId
      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/stamped-customer-actions-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.