v1

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

Cancels a one-time product offer.

post/androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel

Path parameters

packageNamestring required

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

productIdstring required

Required. The parent one-time product (ID) of the offer to cancel.

purchaseOptionIdstring required

Required. The parent purchase option (ID) of the offer to cancel.

offerIdstring required

Required. The offer ID of the offer to cancel.

Request body

productIdstring

Required. The parent one-time product (ID) of the offer to cancel.

offerIdstring

Required. The offer ID of the offer to cancel.

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 update. Defaults to latency-sensitive.

purchaseOptionIdstring

Required. The parent purchase option (ID) of the offer to cancel.

packageNamestring

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

Response

Successful response