Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

General availability of Shipping Discount Function API

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.