Skip to content

UpdateOneTimePriceRequest

Source code in docs_src/capo_appmonetization/types/update_one_time_price_request.py
class UpdateOneTimePriceRequest(TypedDict, closed=True):
    app_id: "capo_appmonetization.types.app_id.AppId"
    """The ID of the app the one-time price belongs to."""
    one_time_price_id: "capo_appmonetization.types.one_time_price_id.OneTimePriceId"
    """The ID of the one-time price to update."""
    definition: (
        "capo_appmonetization.types.one_time_price_definition.OneTimePriceDefinition"
    )
    """The new definition to apply to the one-time price, including its display name, price, metric, and credited capacity."""
    client_token: NotRequired["capo_appmonetization.types.client_token.ClientToken"]
    """A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error."""

app_id instance-attribute

app_id: AppId

The ID of the app the one-time price belongs to.

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.

definition instance-attribute

The new definition to apply to the one-time price, including its display name, price, metric, and credited capacity.

one_time_price_id instance-attribute

one_time_price_id: OneTimePriceId

The ID of the one-time price to update.