Decimal Percentage Coupons

As of October 11, 2018, we have modified the data type of percentage coupons from integer to decimal to allow for more controlled percentage-based discounts. Previously, only whole numbers (ex: 33) could be used to create a percentage-based coupon. Now, any number between 0.0001 and 100 with up to 4 decimal place accuracy are permissible (ex: 33.3333).

When creating a coupon through the API, you need not change the data type when creating a new coupon, however we now also allow decimals as detailed above. Please refer to the API documentation for more details on creating a coupon.

When reading a coupon through the API, however, the value has changed. Previously, the value of a coupon’s percentage would be returned as an integer (ex: 15), however now the value is returned as a string with a decimal value (ex: '15.0'). Please refer to the API documentation for more details on reading a coupon.