Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVDOCS-5646, [update] Checkouts V3, Add line item discount limits to Add discount to checkout endpoint #21

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 adding a manual line item discount on a cart with a promotion or coupon applied. The same limitations apply if you try adding a coupon or promotion to a cart with an existing manual line item discount.

Required Fields
* discounted_amount
Expand Down
Loading