Google Wallet Wallet Loyaltyobject API

The Wallet Loyaltyobject API from Google Wallet — 4 operation(s) for wallet loyaltyobject.

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /walletobjects/v1/loyaltyObject Add a loyalty card to a customer · Insert loyaltyobject #
Ask an LLM
“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?”
Tell an agent
Add loyalty object {id} for class {classId} with {accountName} and {loyaltyPoints} points.
Issue a new loyalty card {id} for {accountName} linked to offers {linkedOfferIds}.
GET /walletobjects/v1/loyaltyObject List loyalty objects · List loyaltyobject #
Ask an LLM
“Which loyalty cards have I issued to customers?”
“Can I list only the loyalty objects for one class?”
Tell an agent
List all loyalty objects.
List loyalty objects for class {classId}.
PUT /walletobjects/v1/loyaltyObject/{resourceId} Replace a loyalty object · Update loyaltyobject #
Ask an LLM
“How do I overwrite a loyalty card's full record?”
“Can I change the loyalty account name on an existing card?”
Tell an agent
Replace loyalty object {resourceId} with {accountName} and {loyaltyPoints}.
Overwrite the whole loyalty card {resourceId}.
GET /walletobjects/v1/loyaltyObject/{resourceId} Get a loyalty object · Get loyaltyobject #
Ask an LLM
“What are the details of one loyalty card?”
“Can I fetch a loyalty object by its ID?”
Tell an agent
Get loyalty object {resourceId}.
Show the loyalty card {resourceId}.
PATCH /walletobjects/v1/loyaltyObject/{resourceId} Change fields on a loyalty object · Patch loyaltyobject #
Ask an LLM
“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?”
Tell an agent
Patch loyalty object {resourceId} to set loyalty points to {loyaltyPoints}.
Change the account name on loyalty card {resourceId} to {accountName}.
POST /walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects Link offers to a loyalty card · Modifylinkedofferobjects loyaltyobject #
Ask an LLM
“How do I link offers to a loyalty card?”
“Is the linked-offer modification endpoint deprecated?”
Tell an agent
Link offers {linkedOfferObjectIds} to loyalty object {resourceId}.
Replace the linked offers on loyalty card {resourceId}.
POST /walletobjects/v1/loyaltyObject/{resourceId}/addMessage Send a message to a loyalty card · Addmessage loyaltyobject #
Ask an LLM
“How do I send a message to a customer's loyalty card?”
“Can I add a new message to a loyalty object?”
Tell an agent
Add message {message} to loyalty object {resourceId}.
Send a notification to the holder of loyalty card {resourceId}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/google-wallet:google-wallet-loyaltyobject-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

google-wallet-loyaltyobject-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Wallet Loyaltyobject API
  version: v1
  description: Generated from Google's published Discovery document for Google Wallet API (walletobjects v1, revision 20261111). 7 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://walletobjects.googleapis.com
tags:


# --- truncated at 32 KB (76 KB total) ---
# Full source: https://artifacts.apis.io/google-wallet/openapi/google-wallet-loyaltyobject-api-openapi.yml