Coupons now use floats rather than integers to specify percent_offBreaking changes
What’s new
We deprecated the percent_
field, and replaced it with the percent_
field for coupons. This changes the percentage representation from an integer to a float, with a precision of two decimal places.
Impact
Lets you more precisely discount percentages in coupons, which lets you create discounts with fractional percentages. For example, instead of only whole number percentages, you can set discounts like 10.50%.