Method: inappproducts.list

Lists all in-app products - both managed products and subscriptions.

If an app has a large number of in-app products, the response may be paginated. In this case the response field tokenPagination.nextPageToken will be set and the caller should provide its value as a token request parameter to retrieve the next page.

HTTP request

GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Package name of the app.

Query parameters

Parameters
token

string

Pagination token. If empty, list starts at the first product.

startIndex
(deprecated)

integer (uint32 format)

Deprecated and ignored. Set the token parameter to rertieve the next page.

maxResults
(deprecated)

integer (uint32 format)

Deprecated and ignored. The page size is determined by the server.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response listing all in-app products.

JSON representation
{
  "kind": string,
  "inappproduct": [
    {
      object (InAppProduct)
    }
  ],
  "tokenPagination": {
    object (TokenPagination)
  },
  "pageInfo": {
    object (PageInfo)
  }
}
Fields
kind

string

The kind of this response ("androidpublisher#inappproductsListResponse").

inappproduct[]

object (InAppProduct)

All in-app products.

tokenPagination

object (TokenPagination)

Pagination token, to handle a number of products that is over one page.

pageInfo
(deprecated)

object (PageInfo)

Deprecated and unset.

Authorization Scopes

Requires the following OAuth scope:

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