General availability of Shipping Discount Function API
API
Effective December 07, 2023
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.