# 2025-02-18: Cart Service - deprecated field

## Overview

When applying discount on a cart, the request allows to specify `calculationType` with following values: `ApplyDiscountBeforeTax`, `ApplyDiscountAfterTax` The field has been deprecated, cart's calculatedPrice relays on site's configuration `includesTax` which defines whether the discount should be applied on net or gross prices.

## Updated endpoints

| Endpoint                                                                                                                                                            | Description                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| [Applying a discount to cart](https://developer.emporix.io/api-references/api-guides/checkout/cart/api-reference/discounts#post-cart-tenant-carts-cartid-discounts) | Deprecated request attribute `calculationType` |

## Known problems

There are no known problems.
