Method: monetization.subscriptions.archive
เลิกใช้งานแล้ว: ระบบไม่รองรับการเก็บถาวรของการติดตาม
คำขอ HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ต้องระบุ แอปหลัก (ชื่อแพ็กเกจ) ของแอปที่ต้องยกเลิกการสมัครใช้บริการ
|
productId |
string
ต้องระบุ รหัสผลิตภัณฑ์ที่ไม่ซ้ำกันของการสมัครใช้บริการที่จะลบ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Subscription
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-17 UTC
[null,null,["อัปเดตล่าสุด 2024-12-17 UTC"],[[["This request archives a subscription for a specific app and product ID."],["It requires providing the package name and product ID as path parameters."],["The request body should be empty, and a successful response returns the subscription details."],["It's important to note that subscription archiving is deprecated and not supported."],["Authorization is needed using the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details the process of archiving a subscription via a POST request to a specific URL. The request requires `packageName` and `productId` path parameters. The HTTP request utilizes gRPC Transcoding. The request body must be empty. A successful operation returns a `Subscription` instance in the response body. The `androidpublisher` OAuth scope is necessary for authorization. Note that subscription archiving is deprecated.\n"]]