I want to add a delivery fee to a checkout. How can I do that with the Storefront API?
Specifically if a customer buys something from a merchant and their cart is under 20 bucks add delivery fee.
Solved! Go to the solution
This is an accepted solution.
Any reason why this can't be setup as a shipping rate with a threshold vs. an extra fee? Is this as well as shipping? You can't create custom products / prices on the fly with a public API. Otherwise, you can create a product called delivery fee and add that to qualifying orders with logic in the app.