---
title: >-
  POS UI Extensions 1.7 Update: Support for multiple cart discounts - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/pos-ui-extensions-1-7-update-support-for-multiple-cart-discounts
  md: >-
    https://shopify.dev/changelog/pos-ui-extensions-1-7-update-support-for-multiple-cart-discounts.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-03-11T15:09:46-04:00'
  postedAt: '2024-03-13T15:00:00-04:00'
  updatedAt: '2024-03-15T14:00:41-04:00'
  effectiveAt: '2024-03-13T15:00:00-04:00'
---

March 13, 2024

Tags:

* API

# 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.
