---
title: >-
  The Shopify POS App SDK now supports applying discount codes - 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/the-shopify-pos-app-sdk-now-supports-applying-discount-codes
  md: >-
    https://shopify.dev/changelog/the-shopify-pos-app-sdk-now-supports-applying-discount-codes.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2019-01-17T16:33:09-05:00'
  postedAt: '2018-11-20T16:19:00-05:00'
  updatedAt: '2024-02-02T10:04:52-05:00'
  effectiveAt: '2018-11-20T16:19:00-05:00'
---

November 20, 2018

Tags:

* API

# The Shopify POS App SDK now supports applying discount codes

With the latest update, you can call `setDiscount` as an Edit Cart action with a discount code that was created in on the **Discounts** page in the Shopify admin.

***

This feature is supported for merchants who have Shopify POS **Android v3.1.3** or **iOS v5.2.1** installed. You can learn more about it [here](https://help.shopify.com/en/api/embedded-apps/shopify-pos-app-sdk/add-discount-code).

We encourage you to try setting cart discounts with a code. We’d love to hear your feedback and how you’ll use this in your app. If you want to make a suggestion about this feature, or if you have any questions about it, then don't hesitate to contact the team at <pos-apps@shopify.com>.
