Es el identificador único de un objeto. Este ID debe ser único para todos los objetos de un emisor. Este valor debe seguir el formato issuer ID.identifier, donde Google emite el primero y tú eliges el segundo. El identificador único solo debe incluir caracteres alfanuméricos, “.”, “_” o “-”.
Cuerpo de la solicitud
El cuerpo de la solicitud contiene una instancia de AddMessageRequest.
Cuerpo de la respuesta
Si el proceso es satisfactorio, el cuerpo de la respuesta contiene datos con la siguiente estructura:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-11-07 (UTC)"],[[["Adds a message to an existing gift card object using the object ID."],["The request body should contain an AddMessageRequest as defined in the provided documentation."],["A successful response returns the updated GiftCardObject resource."],["This functionality requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."]]],["This content outlines the process of adding a message to a gift card object. It uses a `POST` HTTP request to `https://walletobjects.googleapis.com/walletobjects/v1/giftCardObject/{resourceId}/addMessage`, requiring a unique `resourceId` path parameter. The request body should be an `AddMessageRequest`, and a successful response returns an updated `GiftCardObject`. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The `resourceId` is constructed from the issuer's ID and the user's identifier.\n"]]