Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Add line item discount limits to Add discount to checkout endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-tgomez committed Dec 12, 2023
1 parent bfebca5 commit b60deed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion reference/checkouts.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,10 @@ paths:
This discount only applies to `line_items`. When you call this API, you clear out all existing discounts applied to line items, including product and order-based discounts.
This endpoint splits the discount between line items based on the item value.
**Note:**
This endpoint splits the discount between line items based on the item value.
You'll get an error message if you try to add a manual line item discount on a cart that has a promotion or coupon applied. The same limitations apply if you try to add a coupon or promotion to a cart that has an existing manual line item discount.
Required Fields
* discounted_amount
Expand Down

0 comments on commit b60deed

Please sign in to comment.