Removes coupon and promotion code parameters with stackable discountsBreaking changes
What’s new
We’re removing the singular coupon
and promotion_
parameters in favor of the discounts
parameter that supports applying multiple discounts.
Why is this a breaking change?
The coupon
and promotion_
parameters and fields are no longer available on Subscription, Subscription Schedule, or Preview Invoice endpoints and respective resources.
Impact
Use the discounts
parameter to include one or more discounts on a Subscription, Subscription Schedule, or Preview Invoice, and read from discounts
in the responses instead.