Method: offerobject.patch
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
עדכון אובייקט המבצע שמזהה האובייקט הנתון מפנה אליו. השיטה הזו תומכת בסמנטיקה של תיקונים.
בקשת HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/offerObject/{resourceId}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string
המזהה הייחודי של אובייקט. המזהה הזה חייב להיות ייחודי בכל האובייקטים של המנפיק. הערך הזה צריך להיות בפורמט issuer ID.identifier שבו הראשון הונפק על ידי Google והאחרון נבחר על ידך. המזהה הייחודי שלך יכול לכלול רק תווים אלפאנומריים, '.', '_' או '-'.
|
גוף הבקשה
גוף הבקשה מכיל מופע של OfferObject
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של OfferObject
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["Updates an existing offer object using patch semantics, allowing for partial modifications."],["The request must target a specific offer object using its unique resource ID in the URL path."],["The request body should contain the desired changes to the offer object, adhering to the OfferObject schema."],["Upon successful execution, the response provides the updated OfferObject."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["The core action is updating an offer object using a PATCH request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/offerObject/{resourceId}`. The `resourceId` parameter in the URL identifies the target object. The request body contains an `OfferObject` instance, and a successful response returns another `OfferObject` instance. This method requires OAuth authorization with the scope `https://www.googleapis.com/auth/wallet_object.issuer`. The object ID must be unique and follow the format \u003cvar translate=\"no\"\u003eissuer ID\u003c/var\u003e.\u003cvar translate=\"no\"\u003eidentifier\u003c/var\u003e.\n"]]