Shopify's Functions API is generally sufficient for most discounting needs; however, there may be cases where switching to the Storefront API is necessary. The following scenarios can only be accomplished through the Storefront API:
 
Enabling Discount Rounding: Storefront API allows for the rounding off of discount amounts applied by Discount Depot App. You will find this option within the Settings page of Discount Depot App.

More than 5 Discount Rules: If you need to create more than 5 product discount rules in the Discount Depot App, Storefront API is required.
 
 
Limitations:
 
Transitioning to the Storefront API unlocks the potential to create unlimited product discounts and access other valuable features. However, it's essential to be aware of the following limitations:
  • Volume or Cart Goal discounts cannot be applied alongside Product discounts in the Cart & Checkout simultaneously.
  • Compatibility issues may arise with other apps using custom checkouts.
  • Discounting labels won't be displayed on the Cart Page.
Carefully consider these aspects before making the switch to ensure a seamless experience for your store and customers.