REST Resource: monetization.subscriptions.basePlans

  • This resource has no persistent data associated with it.

  • The provided methods allow for management of subscription base plans including activation, deactivation, deletion, and price migration.

  • Base plans can be managed individually or in batches for multiple subscriptions.

Resource

There is no persistent data associated with this resource.

Methods

activate

Activates a base plan.

batchMigratePrices

Batch variant of the MigrateBasePlanPrices endpoint.

batchUpdateStates

Activates or deactivates base plans across one or multiple subscriptions.

deactivate

Deactivates a base plan.

delete

Deletes a base plan.

migratePrices

Migrates subscribers from one or more legacy price cohorts to the current price.

Error codes

The operations of this resource, return the following HTTP error codes:

Error code Reason Resolution
5xx Generic error in the Google Play server. Retry your request.

If the problem persists contact your Google Play account manager or submit a support request. Consider checking the Play Status Dashboard for any known outages.

409 Concurrency update error.

There was an attempt to update an object that is being updated. For example, a purchase is getting acknowledged by calling the Play Billing Library's acknowledgePurchase() method and by calling the Play Developer API's purchases.products.acknowledge at the same time.

Retry your request.