Unikalny identyfikator klasy. Ten identyfikator musi być unikalny wśród wszystkich klas 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 OfferClass.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu OfferClass.
[[["Ł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 an existing offer class identified by a unique class ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request must be a PUT request sent to the specified URL with the offer class ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the updated OfferClass object.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return the updated OfferClass object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ewallet_object.issuer\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This describes how to update an offer class using a `PUT` request to the specified URL, which includes a class ID as a path parameter (`resourceId`). The request body must contain an `OfferClass` instance. The response body also returns an `OfferClass` instance upon successful completion. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope for the update operation. The resource ID must be a string that follows the specified formatting.\n"],null,["# Method: offerclass.update\n\n- [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 offer class referenced by the given class ID.\n\n### HTTP request\n\n`PUT https://walletobjects.googleapis.com/walletobjects/v1/offerClass/{resourceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `resourceId` | `string` The unique identifier for a class. This ID must be unique across all classes 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\n### Request body\n\nThe request body contains an instance of [OfferClass](/wallet/reference/rest/v1/offerclass#OfferClass).\n\n### Response body\n\nIf successful, the response body contains an instance of [OfferClass](/wallet/reference/rest/v1/offerclass#OfferClass).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]