Custom Discounts
With custom discounts, you can allow your shoppers to apply discounts from external services to their purchases. To apply custom discounts to carts and cart items, you need to set custom_discounts_enabled
field to true
in your Cart Settings.
You cannot add custom discounts to an empty cart.
- You can apply up to five custom discounts to cart and cart item.
- The stores that use simple calculation method do not support custom discounts.
📄️ Bulk Add Custom Discounts to Cart
The default value for custom discounts on both the cart and cart items is set to 5 if this parameter is not configured in the store. To verify the custom discount limit value, call [Get all settings](/docs/api/settings/get-v-2-settings) endpoint.
📄️ Bulk Delete Custom Discounts From Cart
Use this endpoint to bulk delete custom discounts from cart.
📄️ Update Custom Discount For Cart
Use this endpoint to update a custom discount in your cart.
📄️ Delete Custom Discount From Cart
Use this endpoint to delete custom discount from cart.
📄️ Add Custom Discount To Cart Item
Use this endpoint to add a custom discount to cart item.
📄️ Update Custom Discount For Cart Item
Use this endpoint to update a custom discount in your cart item.
📄️ Delete Custom Discount From Cart Item
Use this endpoint to delete custom discount from cart item.