Method: inappproducts.delete
ลบไอเทมที่ซื้อในแอป (ไอเทมที่มีการจัดการหรือการสมัครใช้บริการ)
ไม่ควรใช้วิธีการนี้เพื่อลบการสมัครใช้บริการอีกต่อไป ดูข้อมูลเพิ่มเติมได้จากบทความนี้
คำขอ HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ชื่อแพ็กเกจของแอป
|
sku |
string
ตัวระบุที่ไม่ซ้ำกันสำหรับไอเทมที่ซื้อในแอป
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
ไม่บังคับ การยอมรับเวลาในการตอบสนองสำหรับการนำไปใช้งานของการอัปเดตผลิตภัณฑ์นี้ ค่าเริ่มต้นจะคำนึงถึงเวลาในการตอบสนอง
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-22 UTC
[null,null,["อัปเดตล่าสุด 2024-08-22 UTC"],[[["Deletes an in-app product, either a managed product or a subscription, but should no longer be used for subscriptions, instead referring to a specific article for updated methods."],["Uses an HTTP DELETE request with specified path parameters for package name and product identifier."],["Accepts an optional query parameter to define latency tolerance for product update propagation."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details the process of deleting an in-app product using the Android Publisher API. A `DELETE` request is sent to a specific URL using gRPC transcoding, including the app's package name and the product's unique identifier (SKU) as path parameters. An optional query parameter, `latencyTolerance`, controls update propagation. The request body must be empty, and a successful operation returns an empty JSON object. The process requires the `androidpublisher` authorization scope, and it is not meant to delete subscriptions.\n"]]