/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
PATCH
/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
monetization
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://androidpublisher.googleapis.com//androidpublisher/v3/applications//subscriptions/' \
--header 'Content-Type: application/json' \
--data-raw '{
"basePlans": [
{
"autoRenewingBasePlanType": {
"billingPeriodDuration": "string",
"gracePeriodDuration": "string",
"legacyCompatible": true,
"prorationMode": "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED",
"resubscribeState": "RESUBSCRIBE_STATE_UNSPECIFIED"
},
"basePlanId": "string",
"offerTags": [
{
"tag": "string"
}
],
"otherRegionsConfig": {
"eurPrice": {
"currencyCode": "string",
"nanos": 0,
"units": "string"
},
"newSubscriberAvailability": true,
"usdPrice": {
"currencyCode": "string",
"nanos": 0,
"units": "string"
}
},
"prepaidBasePlanType": {
"billingPeriodDuration": "string",
"timeExtension": "TIME_EXTENSION_UNSPECIFIED"
},
"regionalConfigs": [
{
"newSubscriberAvailability": true,
"price": {
"currencyCode": "string",
"nanos": 0,
"units": "string"
},
"regionCode": "string"
}
]
}
],
"listings": [
{
"benefits": [
"string"
],
"description": "string",
"languageCode": "string",
"title": "string"
}
],
"packageName": "string",
"productId": "string",
"taxAndComplianceSettings": {
"eeaWithdrawalRightType": "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
"taxRateInfoByRegionCode": {
"property1": {
"eligibleForStreamingServiceTaxRate": true,
"taxTier": "TAX_TIER_UNSPECIFIED"
},
"property2": {
"eligibleForStreamingServiceTaxRate": true,
"taxTier": "TAX_TIER_UNSPECIFIED"
}
}
}
}'
Response Response Example
{
"archived": true,
"basePlans": [
{
"autoRenewingBasePlanType": {
"billingPeriodDuration": "string",
"gracePeriodDuration": "string",
"legacyCompatible": true,
"prorationMode": "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED",
"resubscribeState": "RESUBSCRIBE_STATE_UNSPECIFIED"
},
"basePlanId": "string",
"offerTags": [
{
"tag": "string"
}
],
"otherRegionsConfig": {
"eurPrice": {
"currencyCode": "string",
"nanos": 0,
"units": "string"
},
"newSubscriberAvailability": true,
"usdPrice": {
"currencyCode": "string",
"nanos": 0,
"units": "string"
}
},
"prepaidBasePlanType": {
"billingPeriodDuration": "string",
"timeExtension": "TIME_EXTENSION_UNSPECIFIED"
},
"regionalConfigs": [
{
"newSubscriberAvailability": true,
"price": {
"currencyCode": "string",
"nanos": 0,
"units": "string"
},
"regionCode": "string"
}
],
"state": "STATE_UNSPECIFIED"
}
],
"listings": [
{
"benefits": [
"string"
],
"description": "string",
"languageCode": "string",
"title": "string"
}
],
"packageName": "string",
"productId": "string",
"taxAndComplianceSettings": {
"eeaWithdrawalRightType": "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
"taxRateInfoByRegionCode": {
"property1": {
"eligibleForStreamingServiceTaxRate": true,
"taxTier": "TAX_TIER_UNSPECIFIED"
},
"property2": {
"eligibleForStreamingServiceTaxRate": true,
"taxTier": "TAX_TIER_UNSPECIFIED"
}
}
}
}
Request
Path Params
packageName
stringÂ
required
productId
stringÂ
required
Query Params
regionsVersion.version
stringÂ
optional
updateMask
stringÂ
optional
Body Params application/json
Responses
Modified at 2022-09-11 20:51:56