Promotion Codes now reference Coupons using a polymorphic field for promotionsBreaking changes
What’s new
Moves the top-level coupon
field on Promotion Codes to promotion.coupon, as part of a new promotion hash which is polymorphic.
Why is this a breaking change?
You should now reference Coupons from Promotion Codes using the new promotion.coupon parameter, and specify the promotion.type parameter as coupon
.
When you retrieve Promotion Codes, they don’t auto-expand the promotion.coupon field.
Impact
As we expand the list of supported promotion code types, you’ll be able to reference specific types when identifying Promotion Codes.
Changes
Upgrade
Related changes
- Removes iterations parameter for subscription schedules
- Adds the Discount source property and removes the Discount coupon property
- Makes flexible billing mode the default for new subscriptions
- Updates computation of subscription schedule phase end date to consider billing cycle anchor changes
- Adds customer portal configuration trial behavior
- Adds the ability to itemize proration discount amounts