InAppProducts

An inAppProducts resource represents a digital good that is sold inside of a Chrome App or Chrome Extension and is available for purchase by the user.

inAppProduct Representation

{
"kind": "chromewebstore#inAppProduct",
"sku": string,
"item_id": string,
"type": string,
"state": string,
"prices": [
{
"valueMicros": long,
"currencyCode": string,
"regionCode": string
}
],
"localeData": [
{
"title": string,
"description": string,
"languageCode": string
}
]
}
Property nameValueDescription
item_idstringUnique identifier for a Chrome App, Chrome Extension, or Chrome Theme.
typestringEither inapp or subs.
kindstringIdentifies this resource as an inAppProduct. Value: the fixed string "chromewebstore#inAppProduct".
localeData[]listLocale data of the in-app product.
localeData[].descriptionstringDescription of the in-app product in the specified locale.
localeData[].languageCodestringLanguage code for the locale data.
localeData[].titlestringTitle of the in-app product in the specified locale.
prices[]listPrice of the in-app product.
prices[].currencyCodestringCurrency code for the in-app product, for example, "USD".
prices[].regionCodestringRegion code for the in-app product, for example, "US".
prices[].valueMicroslongMonetary value of the in-app product multiplied by 1000.
skustringUnique identifer (Product ID) for an individual In-App Product (IAP). Product IDs must start with a lowercase letter or number and can only contain lowercase letters(a-z), numbers(0-9), dots(.) and underscores(_).
statestringState of this in-app product, ACTIVE or INACTIVE. In-app products can be inactive until you are ready to make them available to your users.

Methods

get
Gets the in-app product information of an item.
list
Lists the in-app product information of an item.

Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.