Method: monetization.subscriptions.basePlans.offers.get

  • This document provides a reference for reading a single offer using an HTTP GET request.

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

  • The request body must be empty, and a successful response returns a SubscriptionOffer instance.

  • Authorization requires the https://www.googleapis.com/auth/androidpublisher OAuth scope.

Reads a single offer

HTTP request

GET 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 get.

productId

string

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

basePlanId

string

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

offerId

string

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

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of SubscriptionOffer.

Authorization scopes

Requires the following OAuth scope:

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