updatePrice
Updates the active, nickname or metadata of a price of the current account and returns it. Arguments: - input: ID of the price and the fields to change.
updatePrice(
input: UpdatePriceInput!
): Price!
Arguments
updatePrice.input ● UpdatePriceInput! non-null input
Type
Price object
How much a product costs and how often it bills. Pass its id as priceId to createSubscription
or updateSubscription: the subscription copies the amount, currency and recurring, so a later
change to the price never changes an existing subscription. The amount is unitAmount, plus the tax
of the product's tax rate for an EXCLUSIVE price. Only active, nickname and metadata can
change; to change the amount or the billing period, create a new price.
¿Te ha resultado útil esta página?