REST Resource: monetization.onetimeproducts.purchaseOptions

  • This resource does not have any persistent data associated with it.

  • You can use the batchDelete method to delete purchase options for multiple one-time products.

  • The batchUpdateStates method allows you to activate or deactivate purchase options across one or more one-time products.

  • Common error codes include 5xx for server errors and 409 for concurrency update conflicts.

Resource

There is no persistent data associated with this resource.

Methods

batchDelete

Deletes purchase options across one or multiple one-time products.

batchUpdateStates

Activates or deactivates purchase options across one or multiple one-time products.

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.