Method: giftcardclass.patch
تعديل فئة بطاقة الهدايا المُشار إليها بمعرّف الفئة المحدّد تتيح هذه الطريقة دلالات التصحيح.
طلب HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
resourceId |
string
تمثّل هذه السمة المعرّف الفريد لفئة معيّنة. يجب أن يكون هذا المعرّف فريدًا في جميع الفئات الصادرة عن جهة إصدار. يجب أن تكون هذه القيمة بالتنسيق issuer ID.identifier حيث يتم إصدار الطريقة السابقة من قِبل Google واختيار الطريقة الثانية من قِبلك. يجب أن يتضمّن المعرّف الفريد أحرفًا أبجدية رقمية فقط أو النقطة أو الشرطة السفلية أو الشرطة المائلة.
|
نص الطلب
يحتوي نص الطلب على مثال GiftCardClass
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال GiftCardClass
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/wallet_object.issuer
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-04 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-04 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Updates the gift card class identified by the provided class ID, using patch semantics for partial updates."],["The request should be a `PATCH` request to the specified URL, including the class ID as a path parameter."],["The request body must contain a `GiftCardClass` object representing the updates to be applied."],["A successful response will return the updated `GiftCardClass` object."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope."]]],["The core action is updating a gift card class using a `PATCH` request to the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}`. The `resourceId` path parameter uniquely identifies the class. The request body includes a `GiftCardClass` instance, while a successful response also returns a `GiftCardClass` instance. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The `resourceId` must be unique and follow a defined format.\n"]]