gplay pricing
gplay pricing
Section titled “gplay pricing”Pricing conversion and regions-version discovery.
gplay pricing <subcommand> [flags]gplay pricing convert
Section titled “gplay pricing convert”Convert a price to region-specific prices.
gplay pricing convert --package <name> --json <json>Convert a base price to region-specific prices.
This is useful for calculating equivalent prices across regions while maintaining Google Play’s pricing tiers.
The response includes regionVersion, which can be passed to subscriptions, base plans, offers, and one-time product commands with –regions-version when setting regional pricing.
JSON format: { “price”: { “currencyCode”: “USD”, “units”: “9”, “nanos”: 990000000 } }
This will return prices for all supported regions in their local currencies, adjusted to Google Play’s pricing tiers.
| Flag | Description | Default |
|---|---|---|
--json |
ConvertRegionPricesRequest JSON (or @file) | `` |
--output |
Output format: json (default), table, markdown | json |
--package |
Package name (applicationId) | `` |
--pretty |
Pretty-print JSON output | false |
gplay pricing regions-version
Section titled “gplay pricing regions-version”Discover the current regions version and valid currencies.
gplay pricing regions-version --package <name> --price-json <money-json>Discover Google’s current regions version and valid region currencies.
This calls pricing convert with a base Money value, then prints the returned regionVersion plus the billable regions and currencies Google accepts for that version. Use this output instead of copying regional pricing from list/get responses when creating subscriptions or one-time products.
For new products, the safer workflow is usually: gplay subscriptions create –auto-convert-regional-prices –base-price-json … gplay onetimeproducts create –auto-convert-regional-prices –base-price-json …
Those create commands call the same Google API and apply the returned regionVersion automatically.
Money JSON format: { “currencyCode”: “USD”, “units”: “9”, “nanos”: 990000000 }
Examples: gplay pricing regions-version –package com.example.app –price-json ‘{“currencyCode”:“USD”,“units”:“9”,“nanos”:990000000}’ gplay pricing regions-version –package com.example.app –price-json @price.json –output table
| Flag | Description | Default |
|---|---|---|
--output |
Output format: json (default), table, markdown | json |
--package |
Package name (applicationId) | `` |
--pretty |
Pretty-print JSON output | false |
--price-json |
Base Money JSON (or @file) | `` |
--product-tax-category-code |
Product tax category code | `` |