createPrice
Creates a price of a product of the current account and returns it. Arguments: - input: Details of the new price.
createPrice(
input: CreatePriceInput!
): Price!
Arguments
createPrice.input ● CreatePriceInput! 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?