docs: fixed discount details (#3499)

This commit is contained in:
Shahed Nasser
2023-03-16 18:29:20 +02:00
committed by GitHub
parent 1decaa27c7
commit 2c3e8196c7
@@ -146,7 +146,7 @@ This request requires the customers cart ID as a path parameter. In the body
:::info
Customers can add more than one discount to their cart.
Customers can add more than one discount to their cart, however, only one non-free shipping discount is allowed per cart.
:::
@@ -284,4 +284,4 @@ fetch(`<BACKEND_URL>/store/carts/${cartId}/discounts/${code}`, {
This request accepts the cart ID and the code of the discount to remove. If the discount is removed successfully, the request returns the updated cart object, where you wont find the discount in the `discounts` array anymore.
The totals of the cart and its items will be updated as well.
The totals of the cart and its items will be updated as well.