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, andofferIdas path parameters. -
The request body must be empty, and a successful response returns a
SubscriptionOfferinstance. -
Authorization requires the
https://www.googleapis.com/auth/androidpublisherOAuth 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