# Discount coupon templates extended + compatibility issue

URL: https://shoptet.dev/news/api/discount-coupon-templates-extended-compatibility-issue

November 27, 2020 · One min read
Pavel Husa

Endpoint [Templates of discount coupons](https://api.docs.shoptet.com/shoptet-api/openapi/discount-coupons/gettemplatesofdiscountcoupons) contains specification of products, brands, customers and other conditions to specify products a discount coupon should apply on. Based on templates one coupon or series of coupons can be generated.

We have added criteria based on product flags ("Action", "New" etc.) and we have extended brand information new object `brandExt` contains both `code` and `name` of a brand.

Current array of `brands` , which now contains only brand name, will be changed to hold the same information as `brandExt` on February 16 th , 2021. And finally, we will remove the `brandExt` on April, 13 th , 2021. Please adapt your software accordingly.

**Tags:**
- [API](/news/tags/api/)
