Method: monetization.onetimeproducts.purchaseOptions.offers.deactivate

1 回限りのアイテムの特典を無効にします。

HTTP リクエスト

POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate

この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
packageName

string

必須。無効にする特典の親アプリ(パッケージ名)。

productId

string

必須。無効にする特典の 1 回限りの親アイテム(ID)。

purchaseOptionId

string

必須。無効にする特典の親購入オプション(ID)。

offerId

string

必須。無効にする特典の特典 ID。

リクエストの本文

リクエストの本文には、次の構造のデータが含まれます。

JSON 表現
{
  "latencyTolerance": enum (ProductUpdateLatencyTolerance)
}
フィールド
latencyTolerance

enum (ProductUpdateLatencyTolerance)

省略可。この更新の伝播に関する遅延の影響度。デフォルトは latency-sensitive です。

レスポンスの本文

成功した場合、レスポンスの本文には OneTimeProductOffer のインスタンスが含まれます。

認可スコープ

次の OAuth スコープが必要です。

  • https://www.googleapis.com/auth/androidpublisher