Loyaltyobject: modifylinkedofferobjects

Requires authorization

Add (and remove) linked offer objects, specified by ID, to the loyalty object referenced by the resource ID.


HTTP request

POST https://www.googleapis.com/walletobjects/v1/loyaltyObject/resourceId/modifyLinkedOfferObjects


Parameter name Value Description
Path parameters
resourceId string The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you. The unique identifier should only include alphanumeric characters, '.', '_', or '-'.


This request requires authorization with the following scope (read more about authentication and authorization).


Request body

In the request body, supply data with the following structure:

  "linkedOfferObjectIds": {
    "kind": "walletobjects#walletObjectModifyLinkedOfferObjects",
    "addLinkedOfferObjectIds": [
    "removeLinkedOfferObjectIds": [
Property name Value Description Notes
linkedOfferObjectIds nested object
linkedOfferObjectIds.kind string Identifies what kind of resource this is. Value: the fixed string "walletobjects#walletObjectModifyLinkedOfferObjects".
linkedOfferObjectIds.addLinkedOfferObjectIds[] list The linked offer object ids to add to the loyalty object. writable
linkedOfferObjectIds.removeLinkedOfferObjectIds[] list The linked offer object ids to remove from the loyalty object. writable


If successful, this method returns a response body with the following structure:

  "resource": loyaltyobject Resource
Property name Value Description Notes
resource nested object A REST resource.

Enviar comentários sobre…

Google Pay for Passes