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 unitAmount, currency and recurring, so a later
change to the price never changes an existing subscription. Only active, nickname and metadata
can change; to change the amount or the billing period, create a new price.
Was this page helpful?