- Resource: InAppProduct
- Status
- PurchaseType
- InAppProductListing
- ManagedProductTaxAndComplianceSettings
- Methods
Resource: InAppProduct
An in-app product. The resource for InappproductsService.
JSON representation |
---|
{ "packageName": string, "sku": string, "status": enum ( |
Fields | |
---|---|
package |
Package name of the parent app. |
sku |
Stock-keeping-unit (SKU) of the product, unique within an app. |
status |
The status of the product, e.g. whether it's active. |
purchase |
The type of the product, e.g. a recurring subscription. |
default |
Default price. Cannot be zero, as in-app products are never free. Always in the developer's Checkout merchant currency. |
prices |
Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2. An object containing a list of |
listings |
inappproducts.list of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. "en-US". An object containing a list of |
default |
Default language of the localized data, as defined by BCP-47. e.g. "en-US". |
subscription |
Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year). |
trial |
Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days). |
grace |
Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days). |
Union field
|
|
subscription |
Details about taxes and legal compliance. Only applicable to subscription products. |
managed |
Details about taxes and legal compliance. Only applicable to managed products. |
Status
The status of an in-app product.
Enums | |
---|---|
statusUnspecified |
Unspecified status. |
active |
The product is published and active in the store. |
inactive |
The product is not published and therefore inactive in the store. |
PurchaseType
The type of the product.
Enums | |
---|---|
purchaseTypeUnspecified |
Unspecified purchase type. |
managedUser |
The default product type - one time purchase. |
subscription |
In-app product with a recurring period. |
InAppProductListing
Store listing of a single in-app product.
JSON representation |
---|
{ "title": string, "description": string, "benefits": [ string ] } |
Fields | |
---|---|
title |
Title for the store listing. |
description |
Description for the store listing. |
benefits[] |
Localized entitlement benefits for a subscription. |
ManagedProductTaxAndComplianceSettings
Details about taxation and legal compliance for managed products.
JSON representation |
---|
{ "eeaWithdrawalRightType": enum ( |
Fields | |
---|---|
eea |
Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the Help Center article for more information. |
tax |
A mapping from region code to tax rate details. The keys are region codes as defined by Unicode's "CLDR". An object containing a list of |
is |
Whether this in-app product is declared as a product representing a tokenized digital asset. |
Methods |
|
---|---|
|
Deletes in-app products (managed products or subscriptions). |
|
Reads multiple in-app products, which can be managed products or subscriptions. |
|
Updates or inserts one or more in-app products (managed products or subscriptions). |
|
Deletes an in-app product (a managed product or a subscription). |
|
Gets an in-app product, which can be a managed product or a subscription. |
|
Creates an in-app product (a managed product or a subscription). |
|
Lists all in-app products - both managed products and subscriptions. |
|
Patches an in-app product (a managed product or a subscription). |
|
Updates an in-app product (a managed product or a subscription). |