Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Cart Line Details
The details of the initial amount, adjusted price, and details of all applied discounts and promotions to cart line items within the cart.
- JSON example
- This example shows a sample
response.
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| appliedCartLinePromotionDetails | Applied Cart Line Promotion Details[] | Details of the line or cross line promotions applied. | Big, 65.0 | 65.0 |
| cartLineItemAmountAfterDiscount | Double | Updated price of the line items after the current promotions are applied. | Big, 65.0 | 65.0 |
| cartLineItemAmountBeforeDiscount | Double | Price of the line item before the current promotions are applied. | Big, 65.0 | 65.0 |
| cartLineItemId | String | The ID of cart line item on which promotions are applied. | Big, 65.0 | 65.0 |
| cartLineItemQuantity | Integer | Quantity of the cart line item on which promotions are applied. | Big, 65.0 | 65.0 |
| cartLineProduct | String | Product on which promotions are applied. | Big, 65.0 | 65.0 |
| totalCartLineItemDiscountAmount | Double | Total amount of discounts applied to the line item, including discount from applied line or cross line promotions. and cart line. The distributed amount is only from cart level promotions. | Big, 65.0 | 65.0 |
| totalCartLinePromotionsDiscountAmount | Double | Total amount of discount from all line or cross line promotions. | Big, 65.0 | 65.0 |
| totalCartPromotionsDistributedDiscountAmount | Double | The prorated amount of the total monetary discount from cart promotions that a discount distribution service applies to an individual line item. | Big, 65.0 | 65.0 |