# API compatibility changes

URL: https://shoptet.dev/news/api/api-compatibility-changes

February 16, 2021 · One min read
Pavel Husa

Today we have changed some of the previously announced backwards incompatible changes. All of them are related to extended `brand` field – formerly only the brand name was provided, now endpoints use an object containing both `code` and `name` of a brand. In particular:

- In the [Product detail](https://api.docs.shoptet.com/shoptet-api/openapi/products/getproductdetail) endpoint, we have removed temporary `data.brandExt` object.
- In the [Product list](https://api.docs.shoptet.com/shoptet-api/openapi/products/getlistofproducts) , we have removed `data.brandExt` and we also removed parameter `?brand` (which had been replaced by `brandName` last year).
- In the [Discount coupon template](https://api.docs.shoptet.com/shoptet-api/openapi/discount-coupons/gettemplatesofdiscountcoupons) we have changed `data.couponsTemplates[].brands` from a string to an object. Now both `brands` and `brandExt` are equivalent. We will remove the `brandExt` on April, 13 th , 2021.

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