Method: inappproducts.delete
刪除應用程式內商品 (納入管理的產品或訂閱項目)。
請不要再使用此方法刪除訂閱項目。詳情請參閱這篇文章。
HTTP 要求
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
packageName |
string
應用程式的套件名稱。
|
sku |
string
應用程式內商品的專屬 ID。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidpublisher
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[null,null,["上次更新時間:2024-08-22 (世界標準時間)。"],[[["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"]]