v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13136338403.5 KB
monetization

Deactivates a subscription offer. Once deactivated, existing subscribers will maintain their subscription, but the offer will become unavailable to new subscribers.

post/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:deactivate

Path parameters

packageNamestring required

Required. The parent app (package name) of the offer to deactivate.

productIdstring required

Required. The parent subscription (ID) of the offer to deactivate.

basePlanIdstring required

Required. The parent base plan (ID) of the offer to deactivate.

offerIdstring required

Required. The unique offer ID of the offer to deactivate.

Request body

productIdstring

Required. The parent subscription (ID) of the offer to deactivate.

basePlanIdstring

Required. The parent base plan (ID) of the offer to deactivate.

latencyTolerance'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED' | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE' | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT'

Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.

offerIdstring

Required. The unique offer ID of the offer to deactivate.

packageNamestring

Required. The parent app (package name) of the offer to deactivate.

Response

Successful response