Google Wallet · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Wallet Loyaltyobject API

8 actions 8 updates phrasing extends openapi/google-wallet-loyaltyobject-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 8

$.info
$.paths['/walletobjects/v1/loyaltyObject'].get
$.paths['/walletobjects/v1/loyaltyObject'].post
$.paths['/walletobjects/v1/loyaltyObject/{resourceId}'].get
$.paths['/walletobjects/v1/loyaltyObject/{resourceId}'].put
$.paths['/walletobjects/v1/loyaltyObject/{resourceId}'].patch
$.paths['/walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects'].post
$.paths['/walletobjects/v1/loyaltyObject/{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 Loyaltyobject API
  version: 1.0.0
extends: openapi/google-wallet-loyaltyobject-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: 7
- target: $.paths['/walletobjects/v1/loyaltyObject'].get
  update:
    x-apievangelist-phrasing:
      intent: List loyalty objects
      effect: read
      questions:
      - Which loyalty cards have I issued to customers?
      - Can I list only the loyalty objects for one class?
      instructions:
      - text: List all loyalty objects.
      - text: List loyalty objects for class {classId}.
        slots:
          classId: query.classId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyObject'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a loyalty card to a customer
      effect: write
      questions:
      - How do I add a new loyalty card to a customer's Google Wallet?
      - Can I set the loyalty account name and points when issuing a card?
      instructions:
      - text: Add loyalty object {id} for class {classId} with {accountName} and {loyaltyPoints} points.
        slots:
          id: requestBody.id
          classId: requestBody.classId
          accountName: requestBody.accountName
          loyaltyPoints: requestBody.loyaltyPoints
      - text: Issue a new loyalty card {id} for {accountName} linked to offers {linkedOfferIds}.
        slots:
          id: requestBody.id
          accountName: requestBody.accountName
          linkedOfferIds: requestBody.linkedOfferIds
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyObject/{resourceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a loyalty object
      effect: read
      questions:
      - What are the details of one loyalty card?
      - Can I fetch a loyalty object by its ID?
      instructions:
      - text: Get loyalty object {resourceId}.
        slots:
          resourceId: path.resourceId
      - text: Show the loyalty card {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyObject/{resourceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a loyalty object
      effect: write
      questions:
      - How do I overwrite a loyalty card's full record?
      - Can I change the loyalty account name on an existing card?
      instructions:
      - text: Replace loyalty object {resourceId} with {accountName} and {loyaltyPoints}.
        slots:
          resourceId: path.resourceId
          accountName: requestBody.accountName
          loyaltyPoints: requestBody.loyaltyPoints
      - text: Overwrite the whole loyalty card {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyObject/{resourceId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change fields on a loyalty object
      effect: write
      questions:
      - Can I change just the loyalty points on a card without resending the whole object?
      - How do I update only the account name on a loyalty object?
      instructions:
      - text: Patch loyalty object {resourceId} to set loyalty points to {loyaltyPoints}.
        slots:
          resourceId: path.resourceId
          loyaltyPoints: requestBody.loyaltyPoints
      - text: Change the account name on loyalty card {resourceId} to {accountName}.
        slots:
          resourceId: path.resourceId
          accountName: requestBody.accountName
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects'].post
  update:
    x-apievangelist-phrasing:
      intent: Link offers to a loyalty card
      effect: write
      questions:
      - How do I link offers to a loyalty card?
      - Is the linked-offer modification endpoint deprecated?
      instructions:
      - text: Link offers {linkedOfferObjectIds} to loyalty object {resourceId}.
        slots:
          linkedOfferObjectIds: requestBody.linkedOfferObjectIds
          resourceId: path.resourceId
      - text: Replace the linked offers on loyalty card {resourceId}.
        slots:
          resourceId: path.resourceId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/walletobjects/v1/loyaltyObject/{resourceId}/addMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Send a message to a loyalty card
      effect: write
      questions:
      - How do I send a message to a customer's loyalty card?
      - Can I add a new message to a loyalty object?
      instructions:
      - text: Add message {message} to loyalty object {resourceId}.
        slots:
          message: requestBody.message
          resourceId: path.resourceId
      - text: Send a notification to the holder of loyalty card {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-loyaltyobject-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.