AI-generated Key Takeaways
-
This document provides a reference for reading a single offer using an HTTP GET request.
-
The request requires specifying
packageName
,productId
,basePlanId
, andofferId
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 |
Required. The parent app (package name) of the offer to get. |
productId |
Required. The parent subscription (ID) of the offer to get. |
basePlanId |
Required. The parent base plan (ID) of the offer to get. |
offerId |
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