---
title: >-
  General availability of Shipping Discount Function API - 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/general-availability-of-shipping-discount-function-api
  md: >-
    https://shopify.dev/changelog/general-availability-of-shipping-discount-function-api.md
metadata:
  effectiveApiVersion: 2024-01
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2023-12-07T11:34:30-05:00'
  postedAt: '2023-12-07T09:00:00-05:00'
  updatedAt: '2024-12-13T17:24:40-05:00'
  effectiveAt: '2023-12-07T09:00:00-05:00'
---

December 7, 2023

Tags:

* API
* 2024-01

# General availability of Shipping Discount Function API

As of API Version `2024-01`, the Shipping Discount Function API will be available to use on all merchant stores.

This Discount Function API can be used for use cases such as:

* Discounting specific delivery options (e.g. Free standard shipping only)
* Discounting shipping based on contents of cart (e.g. Buy this candle and get free shipping)
* Discounting shipping based on buyer identity, how many orders they’ve placed, etc.

Please note that the `discountApplicationStrategy` on `FunctionRunResult` (and its predecessor, `FunctionResult` field) is being deprecated, and removed in `2024-01`.

You can learn more about the [Shipping Discount Function API here](https://shopify.dev/docs/api/functions/reference/shipping-discounts).
