Method: monetization.subscriptions.basePlans.offers.delete

  • You can delete a subscription offer using a DELETE request to the specified URL.

  • Deleting an offer is only possible for draft offers and is irreversible.

  • The request requires path parameters such as packageName, productId, basePlanId, and offerId.

  • The request body must be empty, and a successful response body will also be an empty JSON object.

  • Deleting an offer requires the https://www.googleapis.com/auth/androidpublisher authorization scope.

Deletes a subscription offer. Can only be done for draft offers. This action is irreversible.

HTTP request

DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Required. The parent app (package name) of the offer to delete.

productId

string

Required. The parent subscription (ID) of the offer to delete.

basePlanId

string

Required. The parent base plan (ID) of the offer to delete.

offerId

string

Required. The unique offer ID of the offer to delete.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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