google_create_one_time_product
Create a Google Play one-time product with buy or rent options, localized listings, and regional pricing, then inspect the returned purchase-option state and activate it when DRAFT.
Instructions
Create a new one-time product (buy or rent) on Google Play. Inspect the returned purchase-option state and call google_activate_purchase_option when it is DRAFT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listings | Yes | At least one localization is required | |
| offerTags | No | ||
| productId | Yes | One-time product ID, e.g. com.example.app.remove_ads | |
| packageName | Yes | Android package name (e.g. com.example.app) | |
| regionsVersion | No | Google Play regions version. Default 2022/02 matches Google API expectations. | 2022/02 |
| purchaseOptions | Yes | At least one purchase option (buy or rent) is required | |
| taxAndComplianceSettings | No | ||
| restrictedPaymentCountries | No |