Optionalbilling_Optionalclear_Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. clear_usage has no effect if the plan has a billing meter attached.
OptionaldeletedA flag that, if set to true, will delete the specified item.
OptionaldiscountsThe coupons to redeem into discounts for the subscription item.
OptionalidSubscription item to update.
OptionalmetadataSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
OptionalplanPlan ID for this item, as a string.
OptionalpriceThe ID of the price object. One of price or price_data is required. When changing a subscription item's price, quantity is set to 1 unless a quantity parameter is provided.
Optionalprice_Data used to generate a new Price object inline. One of price or price_data is required.
OptionalquantityQuantity for this item.
Optionaltax_A list of Tax Rate ids. These Tax Rates will override the default_tax_rates on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.