Order Discount API overview
The Order Discount API enables you to create a new type of discount that is applied to all merchandise in the cart.
Example use casesAnchor link to section titled "Example use cases"
- Money off the order subtotal. For example, $5 off the order subtotal.
- Money off products on an order. For example, 20% off all products on the order.
- Tiered discount by spend. For example, spend $100 get 10% off all products.
Developer tools and resourcesAnchor link to section titled "Developer tools and resources"
- Create a discount type function and deploy it to a custom app.