CartDiscounts
Returns the cart-level discounts applied to a cart. This table is read-only; discounts are computed automatically from active promotions.
Table Specific Information
Select
CartDiscounts returns the cart-level discounts applied to a cart. This table is read-only; discounts are computed automatically from the store's active promotions. A value for CartId is required, since BigCommerce does not offer an endpoint to list discounts across all carts.
SELECT * FROM CartDiscounts WHERE CartId = '82676093-e069-4d1d-93a2-96c1d3169dfc'
Columns
| Name | Type | Description |
| Id [KEY] | String | The unique identifier of the discount. |
| CartId [KEY] | String | The Id of the cart this discount applies to. |
| DiscountedAmount | Decimal | The amount discounted. |