Web Store API: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 name | Value | Description |
|---|---|---|
item_id |
string |
Unique identifier for a Chrome App, Chrome Extension, or Chrome Theme. |
type |
string |
Either inapp or subs.
|
kind |
string |
Identifies this resource as an inAppProduct. Value: the fixed
string
"chromewebstore#inAppProduct".
|
localeData[] |
list |
Locale data of the in-app product. |
localeData[].description
|
string |
Description of the in-app product in the specified locale. |
localeData[].languageCode
|
string |
Language code for the locale data. |
localeData[].title |
string |
Title of the in-app product in the specified locale. |
prices[] |
list |
Price of the in-app product. |
prices[].currencyCode |
string |
Currency code for the in-app product, for example, "USD". |
prices[].regionCode |
string |
Region code for the in-app product, for example, "US". |
prices[].valueMicros |
long |
Monetary value of the in-app product multiplied by 1000. |
sku |
string |
Unique 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(_). |
state |
string |
State 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.
|