Google Wallet · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Wallet Loyaltyclass API

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

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/walletobjects/v1/loyaltyClass'].get
$.paths['/walletobjects/v1/loyaltyClass'].post
$.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].get
$.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].put
$.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].patch
$.paths['/walletobjects/v1/loyaltyClass/{resourceId}/addMessage'].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 Google Wallet Loyaltyclass API
  version: 1.0.0
extends: openapi/google-wallet-loyaltyclass-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['/walletobjects/v1/loyaltyClass'].get
  update:
    x-apievangelist-phrasing:
      intent: List loyalty program classes
      effect: read
      questions:
      - Which loyalty program classes have I created?
      - Can I list loyalty classes for one issuer ID?
      instructions:
      - text: List all loyalty classes for issuer {issuerId}.
        slots:
          issuerId: query.issuerId
      - text: Show {maxResults} loyalty program classes.
        slots:
          maxResults: query.maxResults
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyClass'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a loyalty program class
      effect: write
      questions:
      - How do I add a new loyalty program class?
      - Can I set the program name, issuer name and rewards tier when creating a class?
      instructions:
      - text: Create loyalty class {id} for program {programName} by {issuerName}.
        slots:
          id: requestBody.id
          programName: requestBody.programName
          issuerName: requestBody.issuerName
      - text: Add a loyalty class with rewards tier {rewardsTier} and background {hexBackgroundColor}.
        slots:
          rewardsTier: requestBody.rewardsTier
          hexBackgroundColor: requestBody.hexBackgroundColor
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a loyalty program class
      effect: read
      questions:
      - What are the details of one loyalty class?
      - Can I fetch a single loyalty program class by ID?
      instructions:
      - text: Get loyalty class {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the program name and issuer of loyalty class {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a loyalty program class
      effect: write
      questions:
      - How do I overwrite a loyalty class with new values?
      - Can I replace a whole loyalty program class in one call?
      instructions:
      - text: Replace loyalty class {resourceId} with program name {programName}.
        slots:
          resourceId: path.resourceId
          programName: requestBody.programName
      - text: Overwrite the entire loyalty class {resourceId} with these values.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyClass/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update fields of a loyalty class
      effect: write
      questions:
      - Can I change just the rewards tier label on a loyalty class?
      - How do I update a few fields of a loyalty program class without resending the rest?
      instructions:
      - text: Change the rewards tier label of loyalty class {resourceId} to {rewardsTierLabel}.
        slots:
          resourceId: path.resourceId
          rewardsTierLabel: requestBody.rewardsTierLabel
      - text: Set the review status of loyalty class {resourceId} to {reviewStatus}.
        slots:
          resourceId: path.resourceId
          reviewStatus: requestBody.reviewStatus
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyClass/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a loyalty class
      effect: write
      questions:
      - How do I send a message to all users of a loyalty class?
      - Can I add a new message to a loyalty program class?
      instructions:
      - text: Add message {message} to loyalty class {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Send a new message to every user of loyalty class {resourceId}.
        slots:
          resourceId: path.resourceId
      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/google-wallet-loyaltyclass-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.