Unikalny identyfikator obiektu. Ten identyfikator musi być unikalny wśród wszystkich obiektów wydawcy. Ta wartość powinna mieć format issuer ID.identifier, gdzie pierwszy identyfikator jest wystawiany przez Google, a drugi jest wybierany przez Ciebie. Unikalny identyfikator powinien zawierać tylko znaki alfanumeryczne oraz znaki „.”, „_” lub „-”.
Treść żądania
Treść żądania zawiera wystąpienie elementu GiftCardObject.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu GiftCardObject.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eUpdates a gift card object with patch semantics using the provided object ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body and successful response both contain a \u003ccode\u003eGiftCardObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe object ID in the path follows a specific format: \u003ccode\u003e<issuer ID>.<identifier>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/wallet_object.issuer\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["This content describes updating a gift card object using a PATCH request. The target URL is `PATCH https://walletobjects.googleapis.com/walletobjects/v1/giftCardObject/{resourceId}`, where `resourceId` is a unique identifier composed of an issuer ID and a chosen identifier. The request body uses the `GiftCardObject` schema, and successful responses also return a `GiftCardObject` instance. The method requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nUpdates the gift card object referenced by the given object ID. This method supports patch semantics.\n\nHTTP request\n\n`PATCH https://walletobjects.googleapis.com/walletobjects/v1/giftCardObject/{resourceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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 \u003cvar translate=\"no\"\u003eissuer ID\u003c/var\u003e.\u003cvar translate=\"no\"\u003eidentifier\u003c/var\u003e where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'. |\n\nRequest body\n\nThe request body contains an instance of [GiftCardObject](/wallet/reference/rest/v1/giftcardobject#GiftCardObject).\n\nResponse body\n\nIf successful, the response body contains an instance of [GiftCardObject](/wallet/reference/rest/v1/giftcardobject#GiftCardObject).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]