Method: offerclass.update
עדכון של קטגוריית המבצע שמשויך אליה מזהה הכיתה שצוין.
בקשת HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/offerClass/{resourceId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string
המזהה הייחודי של הכיתה. המזהה הזה חייב להיות ייחודי בכל המחלקות של המנפיק. הערך צריך להיות בפורמט issuer ID.identifier, כאשר המזהה הראשון מונפק על ידי Google והשני נבחר על ידכם. המזהה הייחודי צריך לכלול רק תווים אלפאנומריים, נקודה (.), קו תחתון (_) או מקף (-).
|
גוף הבקשה
גוף הבקשה מכיל מופע של OfferClass
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של OfferClass
.
היקפי ההרשאות
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-07 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-07 (שעון UTC)."],[[["Updates an existing offer class identified by a unique class ID."],["The request must be a PUT request sent to the specified URL with the offer class ID."],["The request body should contain the updated OfferClass object."],["A successful response will return the updated OfferClass object."],["Authorization requires the `wallet_object.issuer` scope."]]],["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"]]