Requires authorization
Lists the user's current inapp item or subscription entitlements
Request
HTTP request
GET https://www.googleapis.com/androidpublisher/v2/applications/packageName/entitlements
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
packageName |
string |
The package name of the application the inapp product was sold in (for example, 'com.some.thing'). |
Optional query parameters | ||
maxResults |
unsigned integer |
|
productId |
string |
The product id of the inapp product (for example, 'sku1'). This can be used to restrict the result set. |
startIndex |
unsigned integer |
|
token |
string |
Authorization
This request requires authorization with the following scope (read more about authentication and authorization).
Scope |
---|
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "pageInfo": { "totalResults": integer, "resultPerPage": integer, "startIndex": integer }, "tokenPagination": { "nextPageToken": string, "previousPageToken": string }, "resources": [ entitlements Resource ] }
Property name | Value | Description | Notes |
---|---|---|---|
pageInfo |
nested object |
||
pageInfo.totalResults |
integer |
||
pageInfo.resultPerPage |
integer |
||
pageInfo.startIndex |
integer |
||
tokenPagination |
nested object |
||
tokenPagination.nextPageToken |
string |
||
tokenPagination.previousPageToken |
string |
||
resources[] |
list |