# POS UI Extensions 1.7 Update: Support for multiple cart discounts — Shopify developer changelog --- ## POS UI Extensions 1.7 Update: Support for multiple cart discounts As of March 13, we added the following updates to POS UI Extensions: - Added a `discounts` property to the Cart object, which includes all cart discounts. - Added `addCartCodeDiscount` to the Cart API, which allows the UI extension to add a code discount. The existing `applyCartDiscount` will still function for code discounts, too. - Added `remove AllDiscounts` to the Cart API, which allows the UI extension to remove all cart discounts. - Added a `listHeaderComponent` to the List component. All of the changes are available for POS UI extensions version 1.7.0 and POS app version 9.4.0. See the [version log](https://shopify.dev/docs/api/pos-extensions/ui-extensions-reference/versions) for all version details. *Published: March 13, 2024* Tags: API, Update Link: https://shopify.dev/changelog/pos-ui-extensions-1-7-update-support-for-multiple-cart-discounts ---